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

Triggered by Core_UpdateManager
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onBeforeSoftwareUpdate()
Triggered just before LemonStand is updated. This event is triggered after core:onBeforeSoftwareUpdateRequest and core:onAfterSoftwareUpdateRequest events, when the update manager already received all required data from LemonStand update gateway. Usage example:
public function subscribeEvents()
{
  Backend::$events->addEvent('core:onBeforeSoftwareUpdate', $this, 'before_software_update');
}

public function before_software_update()
{
  // Do something
}