]> git.mxchange.org Git - friendica.git/blobdiff - mod/regmod.php
Catch HTTPExceptions in App::runFrontend()
[friendica.git] / mod / regmod.php
index a7aebf6b0a4ebfd9bf8580653842b21e637f63cc..e03f28e85b098175dd65bea15ef4712f27b1326e 100644 (file)
@@ -13,11 +13,9 @@ use Friendica\Model\Register;
 use Friendica\Model\User;
 use Friendica\Module\Login;
 
-require_once 'include/enotify.php';
-
 function user_allow($hash)
 {
-       $a = get_app();
+       $a = \get_app();
 
        $register = Register::getByHash($hash);
        if (!DBA::isResult($register)) {