]> git.mxchange.org Git - friendica-addons.git/commitdiff
Remove get_app() in favor of DI::app()
authornupplaPhil <admin@philipp.info>
Sat, 4 Jan 2020 22:42:00 +0000 (23:42 +0100)
committernupplaPhil <admin@philipp.info>
Sat, 4 Jan 2020 22:42:00 +0000 (23:42 +0100)
ifttt/ifttt.php

index c9e086968d575b0162d8e899fa59fe0fa394158f..08be262bd878b767a82f671a59b113d98956e181 100644 (file)
@@ -166,7 +166,7 @@ function ifttt_post(App $a)
 
 function ifttt_message($uid, $item)
 {
-       $a = \get_app();
+       $a = DI::app();
 
        $_SESSION['authenticated'] = true;
        $_SESSION['uid'] = $uid;