mirror of
https://github.com/friendica/friendica
synced 2025-04-30 05:04:22 +02:00
Replace global $a with BaseObject::getApp()
This commit is contained in:
parent
d0780ccf7d
commit
820afa2284
17 changed files with 51 additions and 56 deletions
|
@ -7,9 +7,11 @@ namespace Friendica\Worker;
|
|||
|
||||
use Friendica\Core\Config;
|
||||
|
||||
class DBUpdate {
|
||||
public static function execute() {
|
||||
$a = get_app();
|
||||
class DBUpdate
|
||||
{
|
||||
public static function execute()
|
||||
{
|
||||
$a = \Friendica\BaseObject::getApp();
|
||||
|
||||
// We are deleting the latest dbupdate entry.
|
||||
// This is done to avoid endless loops because the update was interupted.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue