diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-01-18 16:09:11 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-03-18 11:11:19 +0100 |
commit | 71e051079b9909e5184270121e2d8e1174e8f8ba (patch) | |
tree | 637602bc5437883e2751d4a8de0093f7fd956f6d /core/js | |
parent | 1ad788d5f0eb2edbbf468f63aa4cf61f2b46f1e4 (diff) | |
download | nextcloud-server-71e051079b9909e5184270121e2d8e1174e8f8ba.tar.gz nextcloud-server-71e051079b9909e5184270121e2d8e1174e8f8ba.zip |
Migrate debug mode check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/setupchecks.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 7400d02d30d..fe6ab1105a2 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -188,12 +188,6 @@ type: OC.SetupChecks.MESSAGE_TYPE_WARNING }) } - if (window.oc_debug) { - messages.push({ - msg: t('core', 'This instance is running in debug mode. Only enable this for local development and not in production environments.'), - type: OC.SetupChecks.MESSAGE_TYPE_WARNING - }) - } if (Object.keys(data.generic).length > 0) { Object.keys(data.generic).forEach(function(key){ Object.keys(data.generic[key]).forEach(function(title){ |