- /**
- * Delete some or all of the items in the settings table
- *
- * @param string $group The group name of the entries to be deleted
- * @param string $name The name of the setting to be deleted
- * @param int $componentID The optional component ID (so componenets can share the same name space)
- *
- * @return void
- * @static
- * @access public
- *
- static function deleteItem($group, $name = NULL, $componentID = NULL, $contactID = NULL) {
- $dao = self::dao($group, $name, $componentID, $contactID);
- $dao->delete();
-
- // also reset memory cache if any
- CRM_Utils_System::flushCache();
-
- $cacheKey = self::inCache($group, $name, $componentID, $contactID, FALSE);
- if ($cacheKey) {
- if ($name) {
- unset(self::$_cache[$cacheKey][$name]);
- }
- else {
- unset(self::$_cache[$cacheKey]);
- }
- }
- }*/
-