Do not "pollute" global namespace with LightOpenID symbol
This commit is contained in:
		
					parent
					
						
							
								6bc096b150
							
						
					
				
			
			
				commit
				
					
						032c87d718
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -6,7 +6,6 @@ use Friendica\BaseModule; | ||||||
| use Friendica\Core\Config; | use Friendica\Core\Config; | ||||||
| use Friendica\Database\DBM; | use Friendica\Database\DBM; | ||||||
| use Friendica\Model\User; | use Friendica\Model\User; | ||||||
| use LightOpenID; |  | ||||||
| use dba; | use dba; | ||||||
| 
 | 
 | ||||||
| require_once 'boot.php'; | require_once 'boot.php'; | ||||||
|  | @ -66,7 +65,7 @@ class Login extends BaseModule | ||||||
| 			// Otherwise it's probably an openid.
 | 			// Otherwise it's probably an openid.
 | ||||||
| 			try { | 			try { | ||||||
| 				require_once 'library/openid.php'; | 				require_once 'library/openid.php'; | ||||||
| 				$openid = new LightOpenID; | 				$openid = new \LightOpenID; | ||||||
| 				$openid->identity = $openid_url; | 				$openid->identity = $openid_url; | ||||||
| 				$_SESSION['openid'] = $openid_url; | 				$_SESSION['openid'] = $openid_url; | ||||||
| 				$_SESSION['remember'] = $_POST['remember']; | 				$_SESSION['remember'] = $_POST['remember']; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue