mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +00:00
[pumpio/twitter] Replace global $a with BaseObject::getApp()
This commit is contained in:
parent
9e1e088c09
commit
d86bf8eb45
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ use Friendica\Core\Config;
|
|||
|
||||
function twitter_sync_run($argv, $argc)
|
||||
{
|
||||
global $a;
|
||||
$a = Friendica\BaseObject::getApp();
|
||||
|
||||
require_once 'addon/twitter/twitter.php';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue