From: nupplaPhil Date: Sat, 4 Jan 2020 22:42:00 +0000 (+0100) Subject: Remove get_app() in favor of DI::app() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9b93c5ee608652f5189f6691dc881ba04b0bd092;p=friendica-addons.git Remove get_app() in favor of DI::app() --- diff --git a/ifttt/ifttt.php b/ifttt/ifttt.php index c9e08696..08be262b 100644 --- a/ifttt/ifttt.php +++ b/ifttt/ifttt.php @@ -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;