mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
staff message add permission
This commit is contained in:
+2
-2
@@ -258,9 +258,9 @@ if ($affectedRows == 1 && $row['banned'] == 'yes' && $row['owner'] == $CURUSER['
|
||||
'subject' => nexus_trans('torrent.owner_update_torrent_subject', ['detail_url' => $torrentUrl, 'torrent_name' => $_POST['name']]),
|
||||
'msg' => nexus_trans('torrent.owner_update_torrent_msg', ['detail_url' => $torrentUrl, 'torrent_name' => $_POST['name']]),
|
||||
'added' => now(),
|
||||
'permission' => 'torrent-approval',
|
||||
]);
|
||||
\Nexus\Database\NexusDB::cache_del("staff_new_message_count");
|
||||
\Nexus\Database\NexusDB::cache_del("staff_message_count");
|
||||
clear_staff_message_cache();
|
||||
}
|
||||
|
||||
$returl = "details.php?id=$id&edited=1";
|
||||
|
||||
Reference in New Issue
Block a user