Skip to content

Commit

Permalink
Merge pull request #68 from gnh1201/auto-partitioning-1
Browse files Browse the repository at this point in the history
Auto partitioning 1
  • Loading branch information
gnh1201 authored Dec 30, 2019
2 parents 349e2f1 + 7337955 commit ff5f097
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions system/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ function get_current_datetime($options=array()) {
}

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);
}
}

0 comments on commit ff5f097

Please sign in to comment.