mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Entry: add archived_at property and updateArchived method
This commit is contained in:
parent
2f3af70e1a
commit
7975395d10
13 changed files with 132 additions and 15 deletions
|
@ -358,7 +358,7 @@ class EntryRestController extends WallabagRestController
|
|||
}
|
||||
|
||||
if (null !== $data['isArchived']) {
|
||||
$entry->setArchived((bool) $data['isArchived']);
|
||||
$entry->updateArchived((bool) $data['isArchived']);
|
||||
}
|
||||
|
||||
if (null !== $data['isStarred']) {
|
||||
|
@ -474,7 +474,7 @@ class EntryRestController extends WallabagRestController
|
|||
}
|
||||
|
||||
if (null !== $data['isArchived']) {
|
||||
$entry->setArchived((bool) $data['isArchived']);
|
||||
$entry->updateArchived((bool) $data['isArchived']);
|
||||
}
|
||||
|
||||
if (null !== $data['isStarred']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue