1
0
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:
CaMer0n 2012-07-22 10:24:30 +00:00
parent b275d3dd0b
commit c99343955e

View File

@ -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;
}
// ----------------------------------------