original_string: public function afterSessionStart()
  	{
  		$session = JFactory::getSession();
  
  		if ($session->isNew())
  		{
  			$session->set('registry', new Registry('session'));
  			$session->set('user', new JUser);
  		}
  	}
code: public function afterSessionStart()
  	{
  		$session = JFactory::getSession();
  
  		if ($session->isNew())
  		{
  			$session->set('registry', new Registry('session'));
  			$session->set('user', new JUser);
  		}
  	}
code_tokens: public function afterSessionStart ( ) { $ session = JFactory :: getSession ( ) ; if ( $ session -> isNew ( ) ) { $ session -> set ( 'registry' , new Registry ( 'session' ) ) ; $ session -> set ( 'user' , new JUser ) ; } }
docstring: After the session has been started we need to populate it with some default values.
  
  @return  void
  
  @since   12.2
  @deprecated  4.0
docstring_tokens: After the session has been started we need to populate it with some default values .