From: Roland Häder Date: Sun, 22 Jul 2018 16:34:42 +0000 (+0200) Subject: `$post_update` is no longer used. Instead `$prefix` needs to be checked. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=54021cf2cf7c357270f4a2e5255cc80bbbbbaf15;p=friendica.git `$post_update` is no longer used. Instead `$prefix` needs to be checked. --- diff --git a/boot.php b/boot.php index 0aeb551a55..17caa19033 100644 --- a/boot.php +++ b/boot.php @@ -768,16 +768,20 @@ function run_update_function($x, $prefix) return false; } else { Config::set('database', $funcname, 'success'); - if (isset($post_update)) { + + if ($prefix == 'update') { Config::set('system', 'build', $x); } + return true; } } else { Config::set('database', $funcname, 'success'); - if (isset($post_update)) { + + if ($prefix == 'update') { Config::set('system', 'build', $x); } + return true; } }