summaryrefslogtreecommitdiffstats
path: root/db/mysql/itemmapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/mysql/itemmapper.php')
-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;