diff options
author | Andrew Dolgov <[email protected]> | 2023-10-25 12:55:09 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-25 12:55:09 +0300 |
commit | 865ecc87963dc3b26e66296616eef2a1cc41ac3f (patch) | |
tree | bf2ecd8a391103bdb2c8b70cd33c47467310754b /classes/handler/administrative.php | |
parent | 0a5507d3bd79d04c860455664f919bf8e7274fda (diff) |
move to psr-4 autoloader
Diffstat (limited to 'classes/handler/administrative.php')
-rw-r--r-- | classes/handler/administrative.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/classes/handler/administrative.php b/classes/handler/administrative.php deleted file mode 100644 index 533cb3630..000000000 --- a/classes/handler/administrative.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -class Handler_Administrative extends Handler_Protected { - function before(string $method): bool { - if (parent::before($method)) { - if (($_SESSION["access_level"] ?? 0) >= UserHelper::ACCESS_LEVEL_ADMIN) { - return true; - } - } - return false; - } -} |