Exemplo n.º 1
0
 /**
  * @param Mage_Core_Model_Abstract $model
  * @param string $fixtureType
  * @param                          $entry
  * @param                          $key
  *
  * @return string
  * @throws \Exception
  */
 protected function _deleteAndUnregisterFixture(Mage_Core_Model_Abstract $model, $fixtureType, $entry, $key)
 {
     $fixture = $model->load((int) $entry);
     $fixture->delete();
     Builder::unregister($key);
     return $this->_deleteFixtureMessage($fixtureType, $entry);
 }