From 02e4cf2a02ce59af29daf2cfd2f3749d3a68e23a Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 18 Nov 2017 23:46:16 +0000 Subject: [PATCH] Missing variable --- src/Worker/DBUpdate.php | 2 ++ 1 file changed, 2 insertions(+) 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);