]> git.mxchange.org Git - friendica.git/commitdiff
Replace App with AppHelper
authorArt4 <art4@wlabs.de>
Thu, 21 Nov 2024 09:56:56 +0000 (09:56 +0000)
committerArt4 <art4@wlabs.de>
Thu, 21 Nov 2024 09:56:56 +0000 (09:56 +0000)
mod/photos.php

index abd62989a22162119c898a01660a5d3aec73906e..3afca2db2a7d0abf4bb4f39035bb514a602c6470 100644 (file)
@@ -49,7 +49,7 @@ function photos_init()
        Nav::setSelected('home');
 
        if (DI::args()->getArgc() > 1) {
-               $owner = Profile::load(DI::app(), DI::args()->getArgv()[1], false);
+               $owner = Profile::load(DI::appHelper(), DI::args()->getArgv()[1], false);
                if (!isset($owner['account_removed']) || $owner['account_removed']) {
                        throw new HTTPException\NotFoundException(DI::l10n()->t('User not found.'));
                }