]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/Updater.php
Return true after update ReorderDatastore to complete it
[github/shaarli/Shaarli.git] / application / Updater.php
index 723a7a81dac89bbb1cc57d548c762ce698a4ae8c..8d2bd577d1a27c3f60588f9949f4ab5a311da433 100644 (file)
@@ -436,6 +436,15 @@ class Updater
         }
         return true;
     }
+
+    /**
+     * Save the datastore -> the link order is now applied when links are saved.
+     */
+    public function updateMethodReorderDatastore()
+    {
+        $this->linkDB->save($this->conf->get('resource.page_cache'));
+        return true;
+    }
 }
 
 /**