mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
Optimized some scripts, dropped bitwise column,
replaced stuff, removed optional NFO, EBBOK, MOVIE, MUSIC AND GAMES pp, those are now mandatory.
This commit is contained in:
@@ -54,7 +54,7 @@ function preName($argv)
|
||||
{
|
||||
$determinedcat = $category->determineCategory($row["groupID"], $pre['dirname']);
|
||||
$result = $db->query(sprintf("UPDATE releases SET rageID = NULL, seriesfull = NULL, season = NULL, episode = NULL, tvtitle = NULL, tvairdate = NULL, imdbID = NULL, musicinfoID = NULL, consoleinfoID = NULL, bookinfoID = NULL, "
|
||||
. "anidbID = NULL, preID = %d, dehashstatus = 1, isrenamed = 1, iscategorized = 1, bitwise = ((bitwise & ~32)|32), searchname = %s, categoryID = %d WHERE ID = %d", $pre['ID'], $db->escapeString($pre['dirname']), $determinedcat, $row['ID']));
|
||||
. "anidbID = NULL, preID = %d, dehashstatus = 1, isrenamed = 1, iscategorized = 1, searchname = %s, categoryID = %d WHERE ID = %d", $pre['ID'], $db->escapeString($pre['dirname']), $determinedcat, $row['ID']));
|
||||
$total = count($result);
|
||||
if ( $total > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user