forked from friendica/friendica-addons
Merge pull request #939 from nupplaphil/task/remove_get_app
[ifttt] Remove get_app() in favor of DI::app()
This commit is contained in:
commit
80e81f02ad
|
@ -166,7 +166,7 @@ function ifttt_post(App $a)
|
||||||
|
|
||||||
function ifttt_message($uid, $item)
|
function ifttt_message($uid, $item)
|
||||||
{
|
{
|
||||||
$a = \get_app();
|
$a = DI::app();
|
||||||
|
|
||||||
$_SESSION['authenticated'] = true;
|
$_SESSION['authenticated'] = true;
|
||||||
$_SESSION['uid'] = $uid;
|
$_SESSION['uid'] = $uid;
|
||||||
|
|
Loading…
Reference in a new issue