mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Split functions to the composer autoloading
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
parent
6aae72b836
commit
83ca67fae6
75 changed files with 3612 additions and 3184 deletions
|
@ -28,7 +28,7 @@ switch ($mode) {
|
|||
$topic_ids = DB()->fetch_rowset("SELECT attach_id FROM " . BB_BT_TORRENTS . " WHERE topic_id IN($topics)", 'attach_id');
|
||||
|
||||
foreach ($topic_ids as $attach_id) {
|
||||
change_tor_status($attach_id, $status);
|
||||
\TorrentPier\Legacy\Torrent::change_tor_status($attach_id, $status);
|
||||
}
|
||||
$this->response['status'] = $bb_cfg['tor_icons'][$status];
|
||||
$this->response['topics'] = explode(',', $topics);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue