Missing variable

This commit is contained in:
Michael 2017-11-18 23:46:16 +00:00
parent 1f28cbd2c6
commit 02e4cf2a02

View File

@ -9,6 +9,8 @@ use Friendica\Core\Config;
class DBUpdate { class DBUpdate {
public static function execute() { public static function execute() {
$a = get_app();
// We are deleting the latest dbupdate entry. // We are deleting the latest dbupdate entry.
// This is done to avoid endless loops because the update was interupted. // This is done to avoid endless loops because the update was interupted.
Config::delete('database', 'dbupdate_'.DB_UPDATE_VERSION); Config::delete('database', 'dbupdate_'.DB_UPDATE_VERSION);