mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
Replace App with AppHelper
This commit is contained in:
parent
9e2b192054
commit
4f1a4c4c8a
1 changed files with 1 additions and 1 deletions
|
@ -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.'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue