From 261a8ce9b51779d512acf8d6b5be4bb99afd7ea2 Mon Sep 17 00:00:00 2001 From: Git Date: Mon, 3 Oct 2011 08:00:13 +0000 Subject: [PATCH] Empty commit --- gazelle.sql | 4 ++-- sections/upload/upload_handle.php | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/gazelle.sql b/gazelle.sql index acec29d7..cbd89b31 100644 --- a/gazelle.sql +++ b/gazelle.sql @@ -591,7 +591,7 @@ CREATE TABLE `sphinx_delta` ( `RemasterCatalogueNumber` varchar(50) DEFAULT NULL, `FileList` mediumtext, PRIMARY KEY (`ID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE `sphinx_hash` ( `ID` int(10) NOT NULL, @@ -623,7 +623,7 @@ CREATE TABLE `sphinx_hash` ( `RemasterCatalogueNumber` varchar(50) DEFAULT NULL, `FileList` mediumtext, PRIMARY KEY (`ID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE `sphinx_requests` ( `ID` int(10) unsigned NOT NULL AUTO_INCREMENT, diff --git a/sections/upload/upload_handle.php b/sections/upload/upload_handle.php index a1b84afc..d07c589b 100644 --- a/sections/upload/upload_handle.php +++ b/sections/upload/upload_handle.php @@ -642,22 +642,6 @@ update_hash($GroupID); -//More freeleech - -$DB->query("SELECT Encoding FROM sphinx_delta WHERE ID = ".$GroupID); -if($DB->record_count() > 0) { - list($GroupEncoding) = $DB->next_record(); -} else { - $DB->query("SELECT Encoding FROM sphinx_hash WHERE ID = ".$GroupID); - list($GroupEncoding) = $DB->next_record(); -} -/*if(strpos($GroupEncoding, "V0") !== false && strpos($GroupEncoding, "V2") !== false && strpos($GroupEncoding, "Lossless") !== false && strpos($GroupEncoding, "320") !== false) { - //Contains all 3! - $DB->query("UPDATE torrents SET freetorrent = '1', FreeLeechType = '1', flags = 2 WHERE GroupID = ".$GroupID); - $Cache->increment('stats_complete_count'); -}*/ - -