Difference between revisions of "Uninstall Function"

From GeeklogWiki
Jump to: navigation, search
 
Line 14: Line 14:
 
           </tr>
 
           </tr>
 
       </table>
 
       </table>
 +
 +
[[Category:Plugin Development]]

Revision as of 14:41, 2 July 2004

If you want to give your plugin the ability to uninstall itself then you must implement this function.</p>

Table 6. Uninstall function
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.