diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-05-12 11:54:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 11:54:34 +0200 |
commit | 9db32a48f8f393fe0db16000ce9b33a78e8599f5 (patch) | |
tree | e4bf3ccda3880c456d1b748d027803f42cb17c9d /core/src | |
parent | b177969ea60cfd49603f255c456600a89143cd9f (diff) | |
download | nextcloud-server-9db32a48f8f393fe0db16000ce9b33a78e8599f5.tar.gz nextcloud-server-9db32a48f8f393fe0db16000ce9b33a78e8599f5.zip |
Revert "Log trace when deprecated globals are used"
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/globals.js | 7 |
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) } } |