mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 21:03:42 +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
|
@ -2,7 +2,7 @@
|
|||
use Friendica\Core\Config;
|
||||
|
||||
function pumpio_sync_run(&$argv, &$argc) {
|
||||
global $a;
|
||||
$a = Friendica\BaseObject::getApp();
|
||||
|
||||
require_once("addon/pumpio/pumpio.php");
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue