From 53eccb2ff78f6d94355cfca3cbfefc981e5de03b Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 14 Apr 2015 10:51:09 +0200 Subject: more phpdoc and remove unused code --- db/mysql/itemmapper.php | 1 + 1 file changed, 1 insertion(+) (limited to 'db/mysql/itemmapper.php') 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; -- cgit v1.2.3