Extension Installer/Triggers/onAfterExtensionUpdate

From Joomla! Documentation

Revision as of 19:52, 16 September 2022 by Cmb (talk | contribs) (Corrected occured to occurred.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The onAfterExtensionUpdate trigger occurs after the update of an extension. It has a two parameters:

  1. installer A copy of the installer instance that was used. This it to get access to any error messages that might have occurred.
  2. eid The extension ID of the installed extension. The extension ID may be either a valid numeric value (positive integer), a zero value (when the extension doesn't have a corresponding entry in the extensions table but it is valid) or false if the installation failed.