[pumpio/twitter] Replace global $a with BaseObject::getApp()
parent
9e1e088c09
commit
d86bf8eb45
|
@ -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 New Issue