mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
Refactoring user permissions
This commit is contained in:
+1
-3
@@ -2,9 +2,7 @@
|
||||
require_once("../include/bittorrent.php");
|
||||
dbconn();
|
||||
loggedinorreturn();
|
||||
if (get_user_class() < $updateextinfo_class) {
|
||||
permissiondenied();
|
||||
}
|
||||
user_can('updateextinfo', true);
|
||||
$id = intval($_GET["id"] ?? 0);
|
||||
$type = intval($_GET["type"] ?? 0);
|
||||
$siteid = $_GET["siteid"] ?? 0; // 1 for IMDb
|
||||
|
||||
Reference in New Issue
Block a user