mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
75392b6888
commit
261a8ce9b5
@ -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,
|
||||
|
@ -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');
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user