summaryrefslogtreecommitdiffstats
path: root/db/statusflag.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/statusflag.php')
-rw-r--r--db/statusflag.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/db/statusflag.php b/db/statusflag.php
index a3bfd4b18..d91fd0280 100644
--- a/db/statusflag.php
+++ b/db/statusflag.php
@@ -20,9 +20,13 @@ class StatusFlag {
const UPDATED = 0x16;
- /**
- * Get status for query
- */
+ /**
+ * Get status for query
+ *
+ * @param int $type the type that should be turned into the status
+ * @param bool $showAll true if it should return all read items
+ * @return int the status for the database
+ */
public function typeToStatus($type, $showAll){
if($type === FeedType::STARRED){
return self::STARRED;