From 96303723fa365215df6cad6e12fa94ffb7e4855f Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Mon, 1 Sep 2014 00:29:13 +0900 Subject: [PATCH] (refs #464)Clear plugins before upgrading to 2.3. --- src/main/scala/servlet/AutoUpdateListener.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/scala/servlet/AutoUpdateListener.scala b/src/main/scala/servlet/AutoUpdateListener.scala index c5c9af6c4..267018197 100644 --- a/src/main/scala/servlet/AutoUpdateListener.scala +++ b/src/main/scala/servlet/AutoUpdateListener.scala @@ -69,6 +69,8 @@ object AutoUpdate { } } } + FileUtils.deleteDirectory(Directory.getPluginCacheDir()) + FileUtils.deleteDirectory(new File(Directory.PluginHome)) } }, new Version(2, 2),