Browse Source

Do not remove dead plugins by default

Peter Justin 7 years ago
parent
commit
fabe6c8cad
2 changed files with 6 additions and 1 deletions
  1. 5 0
      flaskbb/configs/config.cfg.template
  2. 1 1
      flaskbb/configs/default.py

+ 5 - 0
flaskbb/configs/config.cfg.template

@@ -164,3 +164,8 @@ USER_URL_PREFIX = "/user"
 MESSAGE_URL_PREFIX = "/message"
 AUTH_URL_PREFIX = "/auth"
 ADMIN_URL_PREFIX = "/admin"
+# Remove dead plugins - useful if you want to migrate your instance
+# somewhere else and forgot to reinstall the plugins.
+# If set to `False` it will NOT remove plugins that are NOT installed on
+# the filesystem (virtualenv, site-packages).
+REMOVE_DEAD_PLUGINS = False

+ 1 - 1
flaskbb/configs/default.py

@@ -194,4 +194,4 @@ class DefaultConfig(object):
     # somewhere else and forgot to reinstall the plugins.
     # If set to `False` it will NOT remove plugins that are NOT installed on
     # the filesystem (virtualenv, site-packages).
-    REMOVE_DEAD_PLUGINS = True
+    REMOVE_DEAD_PLUGINS = False