File tree 2 files changed +10
-3
lines changed
BlogEngine/BlogEngine.NET/setup/upgrade 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,14 @@ public class Updater : WebService {
233
233
DeleteDir("\\editors");
234
234
DeleteDir("\\Modules");
235
235
DeleteDir("\\pics");
236
- DeleteDir("\\App_Data\\datastore\\widgets");
236
+
237
+ // in version 3.3.0.0 widgets framework updated
238
+ // and no longer compatible. delete for lesser versions
239
+ int version = int.Parse(BlogSettings.Instance.Version().Replace(".", ""));
240
+ if (version <= 3300)
241
+ {
242
+ DeleteDir("\\App_Data\\datastore\\widgets");
243
+ }
237
244
238
245
ReplaceDir("\\Account");
239
246
ReplaceDir("\\admin");
@@ -250,7 +257,7 @@ public class Updater : WebService {
250
257
ReplaceDir("\\Content");
251
258
ReplaceDir("\\Custom\\Themes\\Standard");
252
259
ReplaceDir("\\Custom\\Widgets");
253
-
260
+
254
261
return "";
255
262
}
256
263
catch (Exception ex)
Original file line number Diff line number Diff line change 1
- 3.3.0 .0
1
+ 3.3.1 .0
You can’t perform that action at this time.
0 commit comments