public function checkYouNetProducts($aModules = array()) { if (!phpfox::isAdminPanel()) { return true; } $isChanged = $this->getYounetProductsFromSite(); if ($isChanged) { // it's stupid code when we need to check that always changed this system by fault. $this->cache()->remove('module_menu'); $this->cache()->remove('module'); } return $aModules; }