mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
Refactoring user permissions
This commit is contained in:
+1
-2
@@ -3,8 +3,7 @@ require "../include/bittorrent.php";
|
||||
dbconn();
|
||||
require_once(get_langfile_path());
|
||||
loggedinorreturn();
|
||||
if (get_user_class() < $pollmanage_class)
|
||||
permissiondenied();
|
||||
user_can('pollmanage', true);
|
||||
|
||||
$action = $_GET["action"] ?? '';
|
||||
$pollid = intval($_GET["pollid"] ?? 0);
|
||||
|
||||
Reference in New Issue
Block a user