diff --git a/panels.module b/panels.module index fc11c20ce1d0799ce6c6ebe822649f62fb724011..4b8c7317d9ca23b828dde2b2bc07d38fdafa1593 100644 --- a/panels.module +++ b/panels.module @@ -334,17 +334,6 @@ function panels_permission() { ); } -/** - * Implementation of hook_flush_caches(). - * - * We implement this so that we can be sure our legacy rendering state setting - * in $conf is updated whenever caches are cleared. - */ -//function panels_flush_caches() { -// $legacy = panels_get_legacy_state(); -// $legacy->determineStatus(); -//} - /** * Implements hook_flush_caches(). */ @@ -664,7 +653,6 @@ function panels_edit_layout($display, $finish, $destination = NULL, $allowed_lay /** * Forms the basis of a panel display - * */ class panels_display { var $args = array(); diff --git a/panels_ipe/panels_ipe.api.php b/panels_ipe/panels_ipe.api.php index 15a990439aa0b7adb5e177c735ce6839a34d87d1..e026c5beaaaadf2526293b55f9744bfc6a610558 100644 --- a/panels_ipe/panels_ipe.api.php +++ b/panels_ipe/panels_ipe.api.php @@ -15,7 +15,7 @@ * Returns TRUE to allow access, FALSE to deny, or NULL if the module * implementing this hook doesn't care about access for the given display. */ -function hook_panels_ipe_access($panels_display) { +function hook_panels_ipe_access(panels_display $display) { // We only care about displays with the 'panelizer' context. if (!isset($display->context['panelizer'])) { return NULL; diff --git a/panels_node/panels_node.install b/panels_node/panels_node.install index 94f7eb4d9170770dabcd9b23ed28d49c5b7bf635..1af682fc3e08494f7fe0608580d79c13825ab2ed 100644 --- a/panels_node/panels_node.install +++ b/panels_node/panels_node.install @@ -120,7 +120,7 @@ function panels_node_update_7301() { } } -/* +/** * Set the storage type and id on existing panels nodes. */ function panels_node_update_7302() {