[hotfix] Fix wrong Exception namespace
This commit is contained in:
parent
10b5ea825d
commit
3785c6de05
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ function cal_init(App $a)
|
||||||
$nick = $a->argv[1];
|
$nick = $a->argv[1];
|
||||||
$user = DBA::selectFirst('user', [], ['nickname' => $nick, 'blocked' => false]);
|
$user = DBA::selectFirst('user', [], ['nickname' => $nick, 'blocked' => false]);
|
||||||
if (!DBA::isResult($user)) {
|
if (!DBA::isResult($user)) {
|
||||||
throw new \Slim\Exception\NotFoundException();
|
throw new \Friendica\Network\HTTPException\NotFoundException();
|
||||||
}
|
}
|
||||||
|
|
||||||
$a->data['user'] = $user;
|
$a->data['user'] = $user;
|
||||||
|
|
Loading…
Reference in a new issue