/**
  * (non-PHPdoc)
  * @see Tinebase/Controller/Record/Tinebase_Controller_Record_Abstract#delete($_ids)
  */
 public function delete($_ids)
 {
     $this->_cache->clean('all', array('asteriskSipPeer'));
     $result = parent::delete($_ids);
     if (isset(Tinebase_Core::getConfig()->asterisk)) {
         $this->publishConfiguration();
     }
     return $result;
 }
示例#2
0
 /**
  * (non-PHPdoc)
  * @see Tinebase/Controller/Record/Tinebase_Controller_Record_Abstract#update($_record)
  */
 public function update(Tinebase_Record_Interface $_record)
 {
     $result = parent::update($_record);
     Zend_Registry::get('logger')->debug(__METHOD__ . '::' . __LINE__ . ' update voicemail configuration');
     if (isset(Tinebase_Core::getConfig()->asterisk)) {
         $this->publishConfiguration();
     }
     return $result;
 }