X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fpatch-system.php;h=ace6c372964da7ff986b32b0ff7d95c9602d9142;hp=fd799e0e3775362c9d918a0301117bd9840a505f;hb=4d64a8575593f7cc8f69aec74d14c29ba6e8ef6c;hpb=f97a999e0737c0007ae9c3c26dfef49f75a175ac diff --git a/inc/patch-system.php b/inc/patch-system.php index fd799e0e37..ace6c37296 100644 --- a/inc/patch-system.php +++ b/inc/patch-system.php @@ -45,7 +45,7 @@ if (!defined('__SECURITY')) { // Check for patch level differences between databases and current hard-coded if ((constant('CURR_SVN_REVISION') > getConfig('patch_level')) || (getConfig('patch_level') == "CURR_SVN_REVISION") || (getConfig('patch_ctime') == "UNIX_TIMES")) { // Update database and CONFIG array - UPDATE_CONFIG(array("patch_level", "patch_ctime"), array(constant('CURR_SVN_REVISION'), "UNIX_TIMESTAMP()")); + updateConfiguration(array("patch_level", "patch_ctime"), array(constant('CURR_SVN_REVISION'), "UNIX_TIMESTAMP()")); setConfigEntry('patch_level', constant('CURR_SVN_REVISION')); setConfigEntry('patch_ctime', time()); } // END - if