From: Michael Date: Sat, 18 Nov 2017 23:46:16 +0000 (+0000) Subject: Missing variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=02e4cf2a02ce59af29daf2cfd2f3749d3a68e23a;p=friendica.git Missing variable --- diff --git a/src/Worker/DBUpdate.php b/src/Worker/DBUpdate.php index 0e1c9859be..5f85c8ebef 100644 --- a/src/Worker/DBUpdate.php +++ b/src/Worker/DBUpdate.php @@ -9,6 +9,8 @@ use Friendica\Core\Config; class DBUpdate { public static function execute() { + $a = get_app(); + // We are deleting the latest dbupdate entry. // This is done to avoid endless loops because the update was interupted. Config::delete('database', 'dbupdate_'.DB_UPDATE_VERSION);