moved check_db($via_worker) to Update::check($via_worker)
This commit is contained in:
parent
87f3fe24f7
commit
ffbad2dc81
3 changed files with 29 additions and 28 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue