/**
* @extends Shopware_Controllers_Backend_Application<CustomerStream>
*/
class Shopware_Controllers_Backend_CustomerStream extends Shopware_Controllers_Backend_Application
{ protected $model = CustomerStream::
class;
public function delete($id) { try { $this->
getApiResource()->
delete((int) $id);
} catch (NotFoundException
$e) { return ['success' => false, 'error' => 'The passed id parameter exists no more.'
];
} return ['success' => true
];
} public function save($data) { $data['freezeUp'
] = null;