Browse Source

Merge pull request #939 from nupplaphil/task/remove_get_app

[ifttt] Remove get_app() in favor of DI::app()
pull/942/head
Michael Vogel 3 years ago committed by GitHub
parent
commit
80e81f02ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ifttt/ifttt.php

2
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;

Loading…
Cancel
Save