torrent delete independent of torrent management

This commit is contained in:
xiaomlove
2022-09-08 21:48:15 +08:00
parent f76e656f77
commit d715012bc1
10 changed files with 29 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ dbconn();
require_once(get_langfile_path());
require_once(get_langfile_path("",true));
loggedinorreturn();
user_can('torrentmanage', true);
user_can('torrent-delete', true);
function bark($msg) {
global $lang_delete;
stdhead();