mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 11:20:25 +02:00
Notice removal/ clean up
This commit is contained in:
21
class2.php
21
class2.php
@@ -1492,27 +1492,6 @@ function init_session()
|
|||||||
# - return boolean
|
# - return boolean
|
||||||
# - scope public
|
# - scope public
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ----------------------------------------
|
// ----------------------------------------
|
||||||
|
Reference in New Issue
Block a user