]> git.mxchange.org Git - friendica.git/commitdiff
[hotfix] Fix wrong Exception namespace
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 7 May 2019 15:56:25 +0000 (11:56 -0400)
committerGitHub <noreply@github.com>
Tue, 7 May 2019 15:56:25 +0000 (11:56 -0400)
mod/cal.php

index e93341583a53df4ab42e75b4f4f282e4958ab13b..4b41c24e35e867af712ee4a5c62a8388f6abf99d 100644 (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;