mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Notice removal/ clean up
This commit is contained in:
parent
b275d3dd0b
commit
c99343955e
21
class2.php
21
class2.php
@ -1494,27 +1494,6 @@ function init_session()
|
||||
*/
|
||||
|
||||
|
||||
// Experimental ------------------------- see /index.php
|
||||
|
||||
if($_SESSION['E:SOCIAL'] != FALSE)
|
||||
{
|
||||
$user = (array) $_SESSION['E:SOCIAL'];
|
||||
// print_a($_SESSION['E:SOCIAL']);
|
||||
define('USER', true);
|
||||
define('USERID', 1);
|
||||
define('USERNAME', $user['displayName']);
|
||||
define('USERTHEME', false);
|
||||
define('ADMIN', false);
|
||||
define('GUEST', false);
|
||||
define('USERCLASS', '');
|
||||
define('USEREMAIL', $user['email']);
|
||||
define('USERCLASS_LIST', '');
|
||||
define('USERCLASS', '');
|
||||
define('USERIMAGE', $user['photoURL']);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// ----------------------------------------
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user