From 9b93c5ee608652f5189f6691dc881ba04b0bd092 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Sat, 4 Jan 2020 23:42:00 +0100 Subject: [PATCH] Remove get_app() in favor of DI::app() --- ifttt/ifttt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;