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 <91878298+come-nc@users.noreply.github.com>2024-01-29 10:11:03 +0100
commit936c6a2928b1df0ee666fd2ef677e018e33a9eef (patch)
tree3ecf38701225e6dddca8442a3c0f249cb6e2b9fc /core
parent3749c2c79bc830107f7eb903e990b3fa69e28dac (diff)
downloadnextcloud-server-936c6a2928b1df0ee666fd2ef677e018e33a9eef.tar.gz
nextcloud-server-936c6a2928b1df0ee666fd2ef677e018e33a9eef.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){