diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-12 23:35:40 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-12 23:35:40 +0200 |
commit | f01a7748baeb95dbbcf5ca94f579a6e38ec8b971 (patch) | |
tree | 1caa9c5d0c6b7d87a451ad816ac7cfb8a44889a0 /tests/unit/db | |
parent | dc6b021857abf0354f5cfc0e11fba2f92f64f0b4 (diff) |
remove more unused code
Diffstat (limited to 'tests/unit/db')
-rw-r--r-- | tests/unit/db/postgres/ItemMapperTest.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/unit/db/postgres/ItemMapperTest.php b/tests/unit/db/postgres/ItemMapperTest.php index 8677d8784..719721fa4 100644 --- a/tests/unit/db/postgres/ItemMapperTest.php +++ b/tests/unit/db/postgres/ItemMapperTest.php @@ -85,15 +85,6 @@ class ItemMapperTest extends \OCA\News\Utility\MapperTestUtility { 'ORDER BY `items`.`id` DESC'; } - private function makeSelectQueryStatus($prependTo, $status) { - $status = (int) $status; - - return $this->makeSelectQuery( - 'AND ((`items`.`status` & ' . $status . ') = ' . $status . ') ' . - $prependTo - ); - } - public function testDeleteReadOlderThanThresholdDoesNotDeleteBelowThreshold(){ $status = StatusFlag::STARRED | StatusFlag::UNREAD; |