aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/updater/Updater.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2021-01-20 14:45:59 +0100
committerArthurHoaro <arthur@hoa.ro>2021-01-20 15:01:29 +0100
commit9b8c0a4560fa1d87cab1529099b1b4677e92e265 (patch)
tree330a9b1a42ff7b7f24a76612b57fae63417ef483 /application/updater/Updater.php
parent055d97f9a9e67d8ee8ae81bbf59a4b846a145d9f (diff)
downloadShaarli-9b8c0a4560fa1d87cab1529099b1b4677e92e265.tar.gz
Shaarli-9b8c0a4560fa1d87cab1529099b1b4677e92e265.tar.zst
Shaarli-9b8c0a4560fa1d87cab1529099b1b4677e92e265.zip
Handle pagination through BookmarkService
Handle all search results through SearchResult object. This is a required step toward implementing a BookmarkService based on SQL database. Related to #953
Diffstat (limited to 'application/updater/Updater.php')
-rw-r--r--application/updater/Updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/updater/Updater.php b/application/updater/Updater.php
index 4f557d0f..11b6c051 100644
--- a/application/updater/Updater.php
+++ b/application/updater/Updater.php
@@ -152,7 +152,7 @@ class Updater
152 { 152 {
153 $updated = false; 153 $updated = false;
154 154
155 foreach ($this->bookmarkService->search() as $bookmark) { 155 foreach ($this->bookmarkService->search()->getBookmarks() as $bookmark) {
156 if ( 156 if (
157 $bookmark->isNote() 157 $bookmark->isNote()
158 && startsWith($bookmark->getUrl(), '?') 158 && startsWith($bookmark->getUrl(), '?')