mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Code formatting (#1056)
This commit is contained in:
parent
ad031e3bc3
commit
6e0a9964f0
2 changed files with 6 additions and 7 deletions
|
@ -44,8 +44,7 @@ foreach ($info_hash_array[1] as $hash) {
|
||||||
|
|
||||||
if ($scrape_cache = CACHE('tr_cache')->get(SCRAPE_LIST_PREFIX . bin2hex($decoded_hash))) {
|
if ($scrape_cache = CACHE('tr_cache')->get(SCRAPE_LIST_PREFIX . bin2hex($decoded_hash))) {
|
||||||
$torrents['files'][$info_key = array_key_first($scrape_cache)] = $scrape_cache[$info_key];
|
$torrents['files'][$info_key = array_key_first($scrape_cache)] = $scrape_cache[$info_key];
|
||||||
}
|
} else {
|
||||||
else{
|
|
||||||
$info_hashes[] = DB()->escape(($decoded_hash));
|
$info_hashes[] = DB()->escape(($decoded_hash));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue