[hotfix] Fix wrong Exception namespace

This commit is contained in:
Hypolite Petovan 2019-05-07 11:56:25 -04:00 committed by GitHub
parent 10b5ea825d
commit 3785c6de05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ function cal_init(App $a)
$nick = $a->argv[1];
$user = DBA::selectFirst('user', [], ['nickname' => $nick, 'blocked' => false]);
if (!DBA::isResult($user)) {
throw new \Slim\Exception\NotFoundException();
throw new \Friendica\Network\HTTPException\NotFoundException();
}
$a->data['user'] = $user;