mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +00:00
PHPStan: Fix missing requires/namespaces
This commit is contained in:
parent
e40917b792
commit
10b72b0e9e
35 changed files with 89 additions and 37 deletions
|
@ -21,6 +21,7 @@ use Exception;
|
|||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/crypto.php';
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/enotify.php';
|
||||
require_once 'include/network.php';
|
||||
require_once 'library/openid.php';
|
||||
|
@ -186,7 +187,7 @@ class User
|
|||
$_SESSION['register'] = 1;
|
||||
$_SESSION['openid'] = $openid_url;
|
||||
|
||||
$openid = new LightOpenID;
|
||||
$openid = new \LightOpenID;
|
||||
$openid->identity = $openid_url;
|
||||
$openid->returnUrl = System::baseUrl() . '/openid';
|
||||
$openid->required = array('namePerson/friendly', 'contact/email', 'namePerson');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue