Update config.php

This commit is contained in:
Namhyeon Go 2019-12-30 17:41:41 +09:00 committed by GitHub
parent cc8cf1b992
commit 2e7a18f10f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,6 +138,8 @@ if(!check_function_exists("get_current_datetime")) {
}
if(!check_function_exists("get_old_version")) {
$config = get_config();
return get_value_in_array("old_version", $config, 0);
function get_old_version() {
$config = get_config();
return get_value_in_array("old_version", $config, 0);
}
}