mirror of
https://github.com/friendica/friendica
synced 2025-05-12 05:04:10 +02:00
Merge branch 'develop' into task/6778-add-storage-move-to-cron
This commit is contained in:
commit
09e03c9213
42 changed files with 1269 additions and 245 deletions
|
@ -6,12 +6,16 @@
|
|||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\BaseObject;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Update;
|
||||
|
||||
class DBUpdate extends BaseObject
|
||||
{
|
||||
public static function execute()
|
||||
{
|
||||
Update::run(self::getApp()->getBasePath());
|
||||
// Just in case the last update wasn't failed
|
||||
if (Config::get('system', 'update', Update::SUCCESS, true) != Update::FAILED) {
|
||||
Update::run(self::getApp()->getBasePath());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue