Index: trunk/core/units/general/my_application.php =================================================================== diff -u -r2893 -r3103 --- trunk/core/units/general/my_application.php (.../my_application.php) (revision 2893) +++ trunk/core/units/general/my_application.php (.../my_application.php) (revision 3103) @@ -23,23 +23,6 @@ $this->registerClass('kCountryStatesHelper',MODULES_PATH.'/kernel/units/general/country_states.php','CountryStatesHelper'); $this->registerClass('kBracketsHelper',MODULES_PATH.'/kernel/units/general/brackets.php','BracketsHelper'); } - - /** - * Checks if user is logged in, and creates - * user object if so. User object can be recalled - * later using "u" prefix. Also you may - * get user id by getting "u_id" variable. - * - * @access private - */ - function ValidateLogin() - { - $session =& $this->recallObject('Session'); - $user_id = $session->GetField('PortalUserId'); - if (!$user_id) $user_id = -2; - $this->SetVar('u_id', $user_id); - $this->StoreVar('user_id', $user_id); - } function getUserGroups($user_id) {