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
commit c8a322baf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);