/** * Deletes a set of records. * * @param array array of record identifiers * @return array * @throws Tinebase_Exception_NotFound|Tinebase_Exception */ public function delete($_ids) { foreach ((array) $_ids as $id) { $this->_customfieldController->deleteCustomField($id); } return (array) $_ids; }
/** * inspect update of one record (after update) * * @param Tinebase_Record_Interface $updatedRecord the just updated record * @param Tinebase_Record_Interface $record the update record * @param Tinebase_Record_Interface $currentRecord the current record (before update) * @return void */ protected function _inspectAfterUpdate($updatedRecord, $record, $currentRecord) { $this->_customfieldController->clearCacheForConfig($updatedRecord); }