mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-25 04:27:22 +08:00
Refactoring user permissions
This commit is contained in:
@@ -38,10 +38,7 @@ dbconn();
|
||||
|
||||
loggedinorreturn();
|
||||
|
||||
if (get_user_class() < $torrentstructure_class)
|
||||
{
|
||||
permissiondenied();
|
||||
}
|
||||
user_can('torrentstructure', true);
|
||||
|
||||
$id = (int)$_GET["id"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user