mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-17 15:01:29 +00:00
fix schema updater for single user mode
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
$owner_uid = $_SESSION["uid"];
|
$owner_uid = $_SESSION["uid"];
|
||||||
|
|
||||||
if ($_SESSION["access_level"] < 10) {
|
if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) {
|
||||||
print "<p>".
|
print "<p>".
|
||||||
__("Error: your access level is insufficient to run this script.")."</p>";
|
__("Error: your access level is insufficient to run this script.")."</p>";
|
||||||
exit;
|
exit;
|
||||||
|
|||||||
Reference in New Issue
Block a user