3 * @file src/Worker/DBUpdate.php
4 * @brief This file is called when the database structure needs to be updated
6 namespace Friendica\Worker;
8 use Friendica\Core\Config;
9 use Friendica\Core\Update;
13 public static function execute()
15 // We are deleting the latest dbupdate entry.
16 // This is done to avoid endless loops because the update was interupted.
17 Config::delete('database', 'dbupdate_'.DB_UPDATE_VERSION);