]> git.mxchange.org Git - friendica.git/blobdiff - bin/worker.php
Issue 6297 - and again template stuff
[friendica.git] / bin / worker.php
index d5cd1f6b4b7cc56492e770a3f53d51214d11acfa..9ae2f68b3e6ae8a0fbe994b6fe47bf834aee2bb2 100755 (executable)
@@ -7,6 +7,7 @@
 use Friendica\App;
 use Friendica\Core\Config;
 use Friendica\Core\Worker;
+use Friendica\Core\Update;
 
 // Get options
 $shortopts = 'sn';
@@ -30,7 +31,7 @@ require_once "boot.php";
 $a = new App(dirname(__DIR__));
 
 // Check the database structure and possibly fixes it
-check_db(true);
+Update::check(true);
 
 // Quit when in maintenance
 if (!$a->getMode()->has(App\Mode::MAINTENANCEDISABLED)) {