Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorvito
    • CommentTimeJun 23rd 2008
     # 1
    i just wondering if there a delegate to call when admins uncheck/remove the plugin? because some of the plugin will create databases table, it would be nice to have a delegate to call when the plugin is remove, so i can add some function in there to delete those tables.
    •  
      CommentAuthorWallPhone
    • CommentTimeJun 23rd 2008
     # 2
    You can find it in Framework/Framework.Control.ExtensionForm.php:$Context->AddToDelegate('ExtensionForm', 'PreExtensionDisable', 'YourUninstallFunction');
    And use the ExtensionName delegate parameter to make sure that the code only fires when disabling your extension.
Add your comments
    Username Password
  • Format comments as