Empty commit

This commit is contained in:
Git 2013-06-30 08:00:49 +00:00
parent 2d10e5bea9
commit 649323668c
2 changed files with 27 additions and 23 deletions

View File

@ -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);
}

View File

@ -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'],