Extension Manager:API Rewrite:API: Difference between revisions

Jump to navigation Jump to search
Line 247: Line 247:


Called when a new add-on has been installed.
Called when a new add-on has been installed.
'''TODO''' Add an event specifically for upgrades.


;addon :The [[#Addon|Addon]] that has been installed
;addon :The [[#Addon|Addon]] that has been installed
;needsRestart :True if an application restart is necessary for the change to take effect
;needsRestart :True if an application restart is necessary for the change to take effect
;oldAddon :If this install updated an already installed add-on then this will be a reference to the old version (that may still be active if needsRestart is true). This will be null otherwise.


==onUninstalled==
==onUninstalled==
canmove, Confirmed users
1,570

edits

Navigation menu