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:onBeforeSoftwareUpdateRequest event

Triggered by Core_UpdateManager
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onBeforeSoftwareUpdateRequest()
Triggered before LemonStand update request is issued. In the event handler you can throw an exception in order to cancel the request. Usage example:
public function subscribeEvents()
{
  Backend::$events->addEvent('core:onBeforeSoftwareUpdateRequest', $this, 'before_software_update_request');
}

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