From 54021cf2cf7c357270f4a2e5255cc80bbbbbaf15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 22 Jul 2018 18:34:42 +0200 Subject: [PATCH] `$post_update` is no longer used. Instead `$prefix` needs to be checked. --- boot.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; } } -- 2.39.5