Commit 27b2c4ff authored by alexpott's avatar alexpott

Issue #2781953 by vpshah86, fgm: Update.php still refers to $update_free_access

parent 74d2937c
......@@ -182,7 +182,7 @@ protected function handleAccess(Request $request) {
$db_update_access = $this->getContainer()->get('access_check.db_update');
if (!Settings::get('update_free_access', FALSE) && !$db_update_access->access($account)->isAllowed()) {
throw new AccessDeniedHttpException('In order to run update.php you need to either be logged in as admin or have set $update_free_access in your settings.php.');
throw new AccessDeniedHttpException('In order to run update.php you need to either be logged in as admin or have set $settings[\'update_free_access\'] in your settings.php.');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment