mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-24 23:25:48 -07:00
Update Torrent.php
This commit is contained in:
parent
789b5866bb
commit
42bd0594e6
1 changed files with 0 additions and 2 deletions
|
@ -420,7 +420,6 @@ class Torrent
|
|||
}
|
||||
|
||||
$totallen = 0;
|
||||
|
||||
if (isset($info['length'])) {
|
||||
$totallen = (float)$info['length'];
|
||||
} elseif (isset($bt_v1, $info['files']) && !isset($bt_v2) && is_array($info['files'])) {
|
||||
|
@ -459,7 +458,6 @@ class Torrent
|
|||
} else {
|
||||
self::torrent_error_exit($lang['TORFILE_INVALID']);
|
||||
}
|
||||
|
||||
$size = sprintf('%.0f', (float)$totallen);
|
||||
|
||||
$columns = 'info_hash, info_hash_v2, post_id, poster_id, topic_id, forum_id, attach_id, size, reg_time, tor_status, ext_seeders, ext_leechers';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue