]> git.mxchange.org Git - friendica.git/commitdiff
Missing variable
authorMichael <heluecht@pirati.ca>
Sat, 18 Nov 2017 23:46:16 +0000 (23:46 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 18 Nov 2017 23:46:16 +0000 (23:46 +0000)
src/Worker/DBUpdate.php

index 0e1c9859bed0b2fd8ff05cd53d7053e7ad224e05..5f85c8ebefbd2ffb00a39cf477a3f0f2b742991c 100644 (file)
@@ -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);