diff --git a/libraries/src/Document/Renderer/Html/ModuleRenderer.php b/libraries/src/Document/Renderer/Html/ModuleRenderer.php index e0bedc5d0e0cb..1e4f48bb7b749 100644 --- a/libraries/src/Document/Renderer/Html/ModuleRenderer.php +++ b/libraries/src/Document/Renderer/Html/ModuleRenderer.php @@ -79,8 +79,8 @@ public function render($module, $attribs = array(), $content = null) $module->params = (string) $params; } - // Default for compatibility purposes. Set cachemode parameter or use JModuleHelper::moduleCache from within the module instead - $cachemode = $params->get('cachemode', 'oldstatic'); + // Set cachemode parameter or use JModuleHelper::moduleCache from within the module instead + $cachemode = $params->get('cachemode', 'static'); if ($params->get('cache', 0) == 1 && Factory::getApplication()->get('caching') >= 1 && $cachemode != 'id' && $cachemode != 'safeuri') { diff --git a/libraries/src/Helper/ModuleHelper.php b/libraries/src/Helper/ModuleHelper.php index d3fbf29db572b..af8da5da78800 100644 --- a/libraries/src/Helper/ModuleHelper.php +++ b/libraries/src/Helper/ModuleHelper.php @@ -485,8 +485,6 @@ public static function cleanModuleList($modules) * Caching modes: * To be set in XML: * 'static' One cache file for all pages with the same module parameters - * 'oldstatic' 1.5 definition of module caching, one cache file for all pages - * with the same module id and user aid, * 'itemid' Changes on itemid change, to be called from inside the module: * 'safeuri' Id created from $cacheparams->modeparams array, * 'id' Module sets own cache id's @@ -585,17 +583,6 @@ public static function moduleCache($module, $moduleparams, $cacheparams) ); break; - // Provided for backward compatibility, not really useful. - case 'oldstatic': - $ret = $cache->get( - array($cacheparams->class, $cacheparams->method), - $cacheparams->methodparams, - $module->id . $view_levels, - $wrkarounds, - $wrkaroundoptions - ); - break; - case 'itemid': default: $ret = $cache->get(