aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/Updater.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-09-02 15:10:44 +0200
committerArthurHoaro <arthur@hoa.ro>2017-09-02 15:10:44 +0200
commit9ec0a61156192484ca90a8dc88b7c23b26129755 (patch)
treea3b6690d3a0dde8ea858f3b8c27a9454e997d005 /application/Updater.php
parent96a1c79456b27892b9221707803f29585565b9dc (diff)
downloadShaarli-9ec0a61156192484ca90a8dc88b7c23b26129755.tar.gz
Shaarli-9ec0a61156192484ca90a8dc88b7c23b26129755.tar.zst
Shaarli-9ec0a61156192484ca90a8dc88b7c23b26129755.zip
Performances: reorder links when they're written instead of read
relates to #891
Diffstat (limited to 'application/Updater.php')
-rw-r--r--application/Updater.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/application/Updater.php b/application/Updater.php
index 40a15906..0702158a 100644
--- a/application/Updater.php
+++ b/application/Updater.php
@@ -436,6 +436,14 @@ class Updater
436 } 436 }
437 return true; 437 return true;
438 } 438 }
439
440 /**
441 * Save the datastore -> the link order is now applied when links are saved.
442 */
443 public function updateMethodReorderDatastore()
444 {
445 $this->linkDB->save($this->conf->get('resource.page_cache'));
446 }
439} 447}
440 448
441/** 449/**