diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-07-17 03:02:25 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-07-17 03:02:25 +0400 |
commit | 2cfe210dbbcc812be95a66404d87553af8078520 (patch) | |
tree | bc86d3cf73f86e8db084e7713ae504e25846e68d /core/Updates.php | |
parent | ea091e48fcde6161d98ee5fc08cd97a783b2dbd5 (diff) |
Refs #546 Adding core "Uninstall" feature for Plugins and Themes + Cleanups + fix build by moving constant to PluginsManager
Todo
* ask for confirmation: "Do you want to uninstall X?" // warn that plugin-specific data may be deleted as part of calling the plugin's uninstall method, and may not be recoverable.
* call uninstall() method on the plugin class
* verify core plugins cant be uninstalled
Diffstat (limited to 'core/Updates.php')
-rw-r--r-- | core/Updates.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/Updates.php b/core/Updates.php index 91bdca17e7..b9409de5ea 100644 --- a/core/Updates.php +++ b/core/Updates.php @@ -108,9 +108,5 @@ abstract class Piwik_Updates } } - public static function deletePluginFromFilesystem($plugin) - { - Piwik::unlinkRecursive(PIWIK_INCLUDE_PATH . '/plugins/' . $plugin, $deleteRootToo = true); - } } |