Merge pull request #8053 from nupplaphil/task/remove_get_app

Remove get_app() in favor of DI::app()
This commit is contained in:
Michael Vogel
2020-01-04 23:41:51 +01:00
committed by GitHub
28 changed files with 113 additions and 110 deletions

View File

@@ -146,7 +146,7 @@ class DFRN
*/
public static function feed($dfrn_id, $owner_nick, $last_update, $direction = 0, $onlyheader = false)
{
$a = \get_app();
$a = DI::app();
$sitefeed = ((strlen($owner_nick)) ? false : true); // not yet implemented, need to rewrite huge chunks of following logic
$public_feed = (($dfrn_id) ? false : true);