summaryrefslogtreecommitdiffstats
path: root/db/mysql
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-04-14 10:51:09 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-04-14 10:51:09 +0200
commit53eccb2ff78f6d94355cfca3cbfefc981e5de03b (patch)
treed03d66d896b19638fea6140e2b1eb1f7ae707841 /db/mysql
parent2c194953f0ff0f24b7f9a18815ec80971871951a (diff)
more phpdoc and remove unused code
Diffstat (limited to 'db/mysql')
-rw-r--r--db/mysql/itemmapper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/mysql/itemmapper.php b/db/mysql/itemmapper.php
index 61d32a821..5fb28880b 100644
--- a/db/mysql/itemmapper.php
+++ b/db/mysql/itemmapper.php
@@ -28,6 +28,7 @@ class ItemMapper extends \OCA\News\Db\ItemMapper {
/**
* Delete all items for feeds that have over $threshold unread and not
* starred items
+ * @param int $threshold the number of items that should be deleted
*/
public function deleteReadOlderThanThreshold($threshold){
$status = StatusFlag::STARRED | StatusFlag::UNREAD;