fix schema updater for single user mode
This commit is contained in:
parent
5b8db2d4b8
commit
441acab8ff
|
@ -19,7 +19,7 @@
|
|||
|
||||
$owner_uid = $_SESSION["uid"];
|
||||
|
||||
if ($_SESSION["access_level"] < 10) {
|
||||
if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) {
|
||||
print "<p>".
|
||||
__("Error: your access level is insufficient to run this script.")."</p>";
|
||||
exit;
|
||||
|
|
Loading…
Reference in New Issue