functions plugin_activate and plugin_install have 3 parameters, one (the &$error parameter) is used to return error message.
There is no possibility to return error during deactivate and uninstall process (the only method accorded for a plugin to stop the process is to call the die() function => it's not a really good method)
**Reported by grum on 6 May 2010 19:10**
functions plugin_activate and plugin_install have 3 parameters, one (the &$error parameter) is used to return error message.
There is no possibility to return error during deactivate and uninstall process (the only method accorded for a plugin to stop the process is to call the die() function => it's not a really good method)
[Piwigo Bugtracker #1647](http://piwigo.org/bugs/view.php?id=1647)
<!-- github-sync-id:97226089 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Reported by grum on 6 May 2010 19:10
functions plugin_activate and plugin_install have 3 parameters, one (the &$error parameter) is used to return error message.
There is no possibility to return error during deactivate and uninstall process (the only method accorded for a plugin to stop the process is to call the die() function => it's not a really good method)
Piwigo Bugtracker #1647