aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-01-18 16:09:11 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-03-18 11:11:19 +0100
commit71e051079b9909e5184270121e2d8e1174e8f8ba (patch)
tree637602bc5437883e2751d4a8de0093f7fd956f6d /core
parent1ad788d5f0eb2edbbf468f63aa4cf61f2b46f1e4 (diff)
downloadnextcloud-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')
-rw-r--r--core/js/setupchecks.js6
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){