fix schema updater for single user mode

This commit is contained in:
Andrew Dolgov 2007-03-20 06:51:29 +01:00
parent 5b8db2d4b8
commit 441acab8ff

View file

@ -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;