/** * Loads the quote storage. */ protected static function loadStorage() { if (self::$quoteStorage === null || self::$quoteCounts === null) { self::$quoteStorage = WCF::getSession()->getVar('quoteStorage'); if (self::$quoteStorage === null) { self::$quoteStorage = array(); } self::$quoteCounts = WCF::getSession()->getVar('quoteCounts'); if (self::$quoteCounts === null) { self::$quoteCounts = array(); } } }