/** * Update customer * * @param array $data * @throws Mage_Api2_Exception */ protected function _update(array $data) { if ($this->_isOwner($this->getRequest()->getParam('id'))) { parent::_update($data); } }