aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/globals.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index a55392f3a74..e7f2b075374 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -53,16 +53,11 @@ import 'strengthify/strengthify.css'
import OC from './OC/index'
import OCP from './OCP/index'
import OCA from './OCA/index'
-import { debug } from './OC/debug'
import escapeHTML from 'escape-html'
import { getToken as getRequestToken } from './OC/requesttoken'
const warnIfNotTesting = function() {
- const notTesting = window.TESTING === undefined
- if (notTesting && debug) {
- /* eslint-disable no-console */
- console.trace.apply(console, arguments)
- } else if (notTesting) {
+ if (window.TESTING === undefined) {
console.warn.apply(console, arguments)
}
}