From ca98a86b121d894e51f340607e9fe8347ddc17bb Mon Sep 17 00:00:00 2001 From: Git Date: Mon, 12 Sep 2011 08:00:12 +0000 Subject: [PATCH] Empty commit --- gazelle.sql | 8 ++++++++ sections/userhistory/index.php | 4 +--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gazelle.sql b/gazelle.sql index ce0186f3..2dc39994 100644 --- a/gazelle.sql +++ b/gazelle.sql @@ -160,6 +160,7 @@ CREATE TABLE `collages_torrents` ( `GroupID` int(10) NOT NULL, `UserID` int(10) NOT NULL, `Sort` int(10) NOT NULL DEFAULT '0', + `AddedOn` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`CollageID`,`GroupID`), KEY `UserID` (`UserID`), KEY `Sort` (`Sort`) @@ -993,6 +994,13 @@ CREATE TABLE `torrents_tags_votes` ( PRIMARY KEY (`GroupID`,`TagID`,`UserID`,`Way`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; +CREATE TABLE `users_collage_subs` ( + `UserID` int(10) NOT NULL, + `CollageID` int(10) NOT NULL, + `LastVisit` datetime DEFAULT NULL, + PRIMARY KEY (`UserID`,`CollageID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + CREATE TABLE `users_downloads` ( `UserID` int(10) NOT NULL, `TorrentID` int(1) NOT NULL, diff --git a/sections/userhistory/index.php b/sections/userhistory/index.php index 12958b15..a8e2d8fd 100644 --- a/sections/userhistory/index.php +++ b/sections/userhistory/index.php @@ -52,9 +52,7 @@ case 'catchup': require('catchup.php'); break; - case 'earlybird': - require('earlybird.php'); - break; + default: //You trying to mess with me query string? To the home page with you! header('Location: index.php');