/** * Get the system message queue. * * @return array The system message queue. * * @since 11.1 * @deprecated 4.0 */ static function getMessageQueue() { // For empty queue, if messages exists in the session, enqueue them. if (!count(self::$_messageQueue)) { $session = JFactory::getSession(); $sessionQueue = $session->get('fss.queue'); if (count($sessionQueue)) { self::$_messageQueue = $sessionQueue; $session->set('fss.queue', null); } } return self::$_messageQueue; }