1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 21:41:28 +00:00

pref-instances: check access level

This commit is contained in:
Andrew Dolgov
2011-04-20 16:04:50 +04:00
parent 368eb3f861
commit bcce39e3d8

View File

@@ -1,6 +1,11 @@
<?php
function module_pref_instances($link) {
if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) {
print __("Your access level is insufficient to open this tab.");
return;
}
$subop = $_REQUEST['subop'];
if ($subop == "remove") {