summaryrefslogtreecommitdiffstats
path: root/core/src/globals.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-10 13:38:11 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-10 13:47:21 +0200
commit51d49c3134c9acf7e2daba5bcc8c87e14a7548f1 (patch)
tree2c74c588fbcfeb1bb3766ad4a97ab9e4e21dfdc1 /core/src/globals.js
parent855486d7c14ac41c3b952591cc4acbaed996c45a (diff)
downloadnextcloud-server-51d49c3134c9acf7e2daba5bcc8c87e14a7548f1.tar.gz
nextcloud-server-51d49c3134c9acf7e2daba5bcc8c87e14a7548f1.zip
Move initCore to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/globals.js')
-rw-r--r--core/src/globals.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index 312952fe90c..65ad3148ec6 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import appswebroots from "./OC/appswebroots";
+import {initCore} from './init'
const warnIfNotTesting = function() {
if (window.TESTING === undefined) {
@@ -115,6 +115,7 @@ window['md5'] = md5
window['moment'] = moment
window['OC'] = OC
+setDeprecatedProp('initCore', initCore, 'this is an internal function')
setDeprecatedProp('oc_appswebroots', OC.appswebroots, 'use OC.appswebroots instead')
setDeprecatedProp('oc_config', OC.config, 'use OC.config instead')
setDeprecatedProp('oc_current_user', OC.getCurrentUser().uid, 'use OC.getCurrentUser().uid instead')