diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-04-14 10:51:09 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-04-14 10:51:09 +0200 |
commit | 53eccb2ff78f6d94355cfca3cbfefc981e5de03b (patch) | |
tree | d03d66d896b19638fea6140e2b1eb1f7ae707841 /db/statusflag.php | |
parent | 2c194953f0ff0f24b7f9a18815ec80971871951a (diff) |
more phpdoc and remove unused code
Diffstat (limited to 'db/statusflag.php')
-rw-r--r-- | db/statusflag.php | 10 |
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; |