Update model.php
flush_* functions do not need arguments.
This commit is contained in:
parent
c0ed2d6fed
commit
24401c0971
@ -167,7 +167,7 @@ function set_item_read($id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function flush_unread($id)
|
function flush_unread()
|
||||||
{
|
{
|
||||||
\PicoTools\singleton('db')
|
\PicoTools\singleton('db')
|
||||||
->table('items')
|
->table('items')
|
||||||
@ -176,7 +176,7 @@ function flush_unread($id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function flush_read($id)
|
function flush_read()
|
||||||
{
|
{
|
||||||
\PicoTools\singleton('db')
|
\PicoTools\singleton('db')
|
||||||
->table('items')
|
->table('items')
|
||||||
|
Loading…
Reference in New Issue
Block a user