summaryrefslogtreecommitdiffstats
path: root/lib/private/Template
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-04-29 18:51:45 +0200
committerMorris Jobke <hey@morrisjobke.de>2019-05-06 10:12:47 +0200
commit6095ef223562fdf8956663a90d58aa35593c68e0 (patch)
treec8e4ecf5adc8452cf9308bdf333da4c805deb11a /lib/private/Template
parent0877a2e6274ed233eb8773099bceaa32b870195f (diff)
downloadnextcloud-server-6095ef223562fdf8956663a90d58aa35593c68e0.tar.gz
nextcloud-server-6095ef223562fdf8956663a90d58aa35593c68e0.zip
Move oc_debug to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Template')
-rw-r--r--lib/private/Template/JSConfigHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php
index a190371d6d9..7400650eade 100644
--- a/lib/private/Template/JSConfigHelper.php
+++ b/lib/private/Template/JSConfigHelper.php
@@ -166,7 +166,7 @@ class JSConfigHelper {
$capabilities = $this->capabilitiesManager->getCapabilities();
$array = [
- "oc_debug" => $this->config->getSystemValue('debug', false) ? 'true' : 'false',
+ "_oc_debug" => $this->config->getSystemValue('debug', false) ? 'true' : 'false',
"_oc_isadmin" => $this->groupManager->isAdmin($uid) ? 'true' : 'false',
"backendAllowsPasswordConfirmation" => $userBackendAllowsPasswordConfirmation ? 'true' : 'false',
"oc_dataURL" => is_string($dataLocation) ? "\"".$dataLocation."\"" : 'false',