Uninstall Function
From GeeklogWiki
Revision as of 09:58, 11 February 2007 by Tokyoahead (talk | contribs)
If you want to give your plugin the ability to uninstall itself then you must implement this function.</p>
Function | Description of Function |
---|---|
plugin_uninstall_<plugin name> | This function does not take any parameters. The plugin should try and uninstall itself, especially removing all its tables and data structures from the database. The function should return true if the uninstall succeeded and false if it failed. |
as of Geeklog 1.4.2 you can also use the internal plugin-uninstall function, "Autouninstall".
Function | Description of Function |
---|---|
plugin_autouninstall_<plugin name> | This function does not take any parameters. The plugin has to return an array listing all the elemts that should be uninstalled. This array needs to have a specific format. Here is a sample for the links plugin:
|