X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FDBUpdate.php;h=ed8e409e987ab0a6c942328b9448051e81f58747;hb=3d04562c87140a5d026e8405b6d1213b181ffc0d;hp=5f85c8ebefbd2ffb00a39cf477a3f0f2b742991c;hpb=29f7ebe307c22b275466390937b82ccb3820fb1c;p=friendica.git diff --git a/src/Worker/DBUpdate.php b/src/Worker/DBUpdate.php index 5f85c8ebef..ed8e409e98 100644 --- a/src/Worker/DBUpdate.php +++ b/src/Worker/DBUpdate.php @@ -7,9 +7,11 @@ namespace Friendica\Worker; use Friendica\Core\Config; -class DBUpdate { - public static function execute() { - $a = get_app(); +class DBUpdate +{ + public static function execute() + { + $a = \Friendica\BaseObject::getApp(); // We are deleting the latest dbupdate entry. // This is done to avoid endless loops because the update was interupted.