Fix porting error

This commit is contained in:
DariusIII
2016-06-01 23:28:08 +02:00
parent cf35785dbc
commit ee8206dff1
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
<precommit>9</precommit>
<!-- this is the version of the pre-commit file in githooks NOT the files it calls -->
</hooks>
<commit>5249</commit></git>
<commit>5250</commit></git>
<scripts>
<last>
<date>0000-00-00</date>
+3 -3
View File
@@ -110,7 +110,7 @@ Class RSS extends Capabilities
($aniDbID > 0 ? sprintf('AND r.anidbid = %d %s', $aniDbID, ($catSearch == '' ? $catLimit : '')) : ''),
($airDate > -1 ? sprintf('AND tve.firstaired >= DATE_SUB(CURDATE(), INTERVAL %d DAY)', $airDate) : ''),
(' LIMIT 0,' . ($offset > 100 ? 100 : $offset))
), true, nZEDb_CACHE_EXPIRY_MEDIUM
), true, NN_CACHE_EXPIRY_MEDIUM
);
return $sql;
}
@@ -164,7 +164,7 @@ Class RSS extends Capabilities
Category::TV_OTHER,
$this->releases->showPasswords,
(' LIMIT ' . ($limit > 100 ? 100 : $limit) . ' OFFSET 0')
), true, nZEDb_CACHE_EXPIRY_MEDIUM
), true, NN_CACHE_EXPIRY_MEDIUM
);
}
@@ -216,7 +216,7 @@ Class RSS extends Capabilities
(' LIMIT ' . ($limit > 100 ? 100 : $limit) . ' OFFSET 0')
),
true,
nZEDb_CACHE_EXPIRY_MEDIUM
NN_CACHE_EXPIRY_MEDIUM
);
}