From 554259a7aeedecdf411b6193714eec1426e06253 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 3 May 2014 06:17:29 -0700 Subject: [PATCH] comment cleanup & unused var removal --- CRM/Contact/BAO/Group.php | 2 +- CRM/Core/BAO/Cache.php | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CRM/Contact/BAO/Group.php b/CRM/Contact/BAO/Group.php index e41c43e9ea..e0436cc5db 100644 --- a/CRM/Contact/BAO/Group.php +++ b/CRM/Contact/BAO/Group.php @@ -121,7 +121,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { 'is_enabled' )) { // clear any descendant groups cache if exists - $finalGroups = CRM_Core_BAO_Cache::deleteGroup('descendant groups for an org'); + CRM_Core_BAO_Cache::deleteGroup('descendant groups for an org'); } // delete from group table diff --git a/CRM/Core/BAO/Cache.php b/CRM/Core/BAO/Cache.php index cc591349b0..e4c986ac2c 100644 --- a/CRM/Core/BAO/Cache.php +++ b/CRM/Core/BAO/Cache.php @@ -189,8 +189,8 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { * delete the entire cache if group is not specified * * @param string $group The group name of the entries to be deleted - * @param string $path path of the item that needs to be deleted - * @param booleab $clearAll clear all caches + * @param string $path path of the item that needs to be deleted + * @param bool|\booleab $clearAll clear all caches * * @return void * @static @@ -303,6 +303,10 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { * Do periodic cleanup of the CiviCRM session table. Also delete all session cache entries * which are a couple of days old. This keeps the session cache to a manageable size * + * @param bool $session + * @param bool $table + * @param bool $prevNext + * * @return void * @static * @access private -- 2.25.1