From 7262b203a253c0cd9fd8ec0f4b71c747f3bfc765 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Tue, 6 Jun 2017 11:07:46 -0500 Subject: [PATCH] Add Skype plugin folder deletion to files migration from 1.10 to 1.11 - fixes #2005 --- main/install/update-files-1.10.0-1.11.0.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main/install/update-files-1.10.0-1.11.0.inc.php b/main/install/update-files-1.10.0-1.11.0.inc.php index 170239b25c..dbd6535f62 100644 --- a/main/install/update-files-1.10.0-1.11.0.inc.php +++ b/main/install/update-files-1.10.0-1.11.0.inc.php @@ -33,10 +33,16 @@ if (defined('SYSTEM_INSTALLATION')) { if (is_dir($lpPath)) { @rrmdir($lpPath); } + // The ticket plugin has been moved to core in 1.11 $ticketPluginPath = api_get_path(SYS_PLUGIN_PATH).'ticket'; if (is_dir($ticketPluginPath)) { @rrmdir($ticketPluginPath); } + // The Skype plugin has been moved to core in 1.11 + $skypePluginPath = api_get_path(SYS_PLUGIN_PATH).'skype'; + if (is_dir($skypePluginPath)) { + @rrmdir($skypePluginPath); + } if ($debug) { error_log('Folders cleaned up');