mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 12:11:36 +00:00
Empty commit
This commit is contained in:
parent
2d10e5bea9
commit
649323668c
@ -342,8 +342,12 @@
|
||||
AND UnRead = '1'");
|
||||
list($NewNotifications) = $DB->next_record();
|
||||
/* if ($NewNotifications && !check_perms('site_torrents_notify')) {
|
||||
$DB->query("DELETE FROM users_notify_torrents WHERE UserID='$LoggedUser[ID]'");
|
||||
$DB->query("DELETE FROM users_notify_filters WHERE UserID='$LoggedUser[ID]'");
|
||||
$DB->query("
|
||||
DELETE FROM users_notify_torrents
|
||||
WHERE UserID = '$LoggedUser[ID]'");
|
||||
$DB->query("
|
||||
DELETE FROM users_notify_filters
|
||||
WHERE UserID = '$LoggedUser[ID]'");
|
||||
} */
|
||||
$Cache->cache_value('notifications_new_'.$LoggedUser['ID'], $NewNotifications, 0);
|
||||
}
|
||||
|
@ -696,11 +696,11 @@ function header_link($SortKey,$DefaultWay = 'desc') {
|
||||
'tags' => $TagList,
|
||||
'category' => $Categories[$CategoryID-1],
|
||||
'fileCount' => (int) $Data['FileCount'],
|
||||
'groupTime' => $GroupTime,
|
||||
'groupTime' => (string) strtotime($Data['Time']),
|
||||
'size' => (int) $Data['Size'],
|
||||
'snatches' => (int) $TotalSnatched,
|
||||
'seeders' => (int) $TotalSeeders,
|
||||
'leechers' => (int) $TotalLeechers,
|
||||
'snatches' => (int) $Data['Snatched'],
|
||||
'seeders' => (int) $Data['Seeders'],
|
||||
'leechers' => (int) $Data['Leechers'],
|
||||
'isFreeleech' => $Data['FreeTorrent'] == '1',
|
||||
'isNeutralLeech' => $Data['FreeTorrent'] == '2',
|
||||
'isPersonalFreeleech' => $Data['PersonalFL'],
|
||||
|
Loading…
Reference in New Issue
Block a user