public function logout() { if (clm_core::$access->getJid() != -1) { ob_start(); $this->initJoomla(); $mainframe = JFactory::getApplication(); $mainframe->logout(); ob_end_clean(); return parent::logout(); } else { return false; } }
public function logout() { if (clm_core::$access->getJid() != -1) { $mainframe = JFactory::getApplication(); $mainframe->logout(); return parent::logout(); } else { return false; } }