Function __global->upgrade_addon_soft
Definitions
sources/addons2.php
- Upgrade the specified addon.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$addon_name | ID_TEXT | required parameter | N/A | N/A | The addon name |
Return
- 1=Upgrade, 0=No upgrade needed, -1=Not compatible with this software version, -2=Not installed
- Type: integer
- Set: N/A
- Range: N/A