This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

core:onAfterSoftwareUpdateRequest event

Triggered by Core_UpdateManager
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onAfterSoftwareUpdateRequest(array $response)
$response array specifies the server response array.
Triggered after LemonStand update request is issued. The event handler accepts the server response array. In the event handler you can throw an exception in order to cancel the request. Usage example:
public function subscribeEvents()
{
  Backend::$events->addEvent('core:onAfterSoftwareUpdateRequest', $this, 'after_software_update_request');
}

public function after_software_update_request($response)
{
  throw new Phpr_ApplicationException("We're sorry, you cannot update this store.");
}