Skip to content

Commit

Permalink
Fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter van Westen committed Mar 5, 2015
1 parent bef6899 commit 7500731
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libraries/cms/module/helper.php
Expand Up @@ -231,8 +231,7 @@ public static function renderModule($module, $attribs = array())
$attribs['style'] .= ' outline';
}

// onRenderModule is allowed to alter the $module and $attribs
// If the module is nulled it will return an empty content, otherwise it will render the module normally.
// If the $module is nulled it will return an empty content, otherwise it will render the module normally.
$app->triggerEvent('onRenderModule', array(&$module, &$attribs));

if (is_null($module) || !isset($module->content))
Expand Down Expand Up @@ -421,6 +420,8 @@ public static function getModuleList()
/**
* Clean the module list
*
* @param array $modules Array with module objects
*
* @return array
*/
public static function cleanModuleList($modules)
Expand Down

0 comments on commit 7500731

Please sign in to comment.