english/administrator/components/com_categories/models/category.php
/**
	 * Custom clean the cache of com_content and content modules
	 *
	 * @since	1.6
	 */
Custom clean the cache of com_content and content modules
@since       1.6
Custom clean the cache of com_content and content modules @since 1 . 6
protected function cleanCache()
	{
		$extension = JRequest::getCmd('extension');
		switch ($extension)
		{
			case 'com_content':
				parent::cleanCache('com_content');
				parent::cleanCache('mod_articles_archive');
				parent::cleanCache('mod_articles_categories');
				parent::cleanCache('mod_articles_category');
				parent::cleanCache('mod_articles_latest');
				parent::cleanCache('mod_articles_news');
				parent::cleanCache('mod_articles_popular');
				break;
			default:
				parent::cleanCache($extension);
				break;
		}
	}
protected function cleanCache ( ) { $ extension = JRequest :: getCmd ( 'extension' ) ; switch ( $ extension ) { case 'com_content' : parent :: cleanCache ( 'com_content' ) ; parent :: cleanCache ( 'mod_articles_archive' ) ; parent :: cleanCache ( 'mod_articles_categories' ) ; parent :: cleanCache ( 'mod_articles_category' ) ; parent :: cleanCache ( 'mod_articles_latest' ) ; parent :: cleanCache ( 'mod_articles_news' ) ; parent :: cleanCache ( 'mod_articles_popular' ) ; break ; default : parent :: cleanCache ( $ extension ) ; break ; } }
Custom clean the cache of com_content and content modules
 @since       1.6
Custom clean the cache of com_content and content modules @since 1 . 6