summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-14 11:14:29 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-14 11:14:29 +0200
commit0f3e438f7cab87514be3896bb8acdc05defdef14 (patch)
tree75e44065584f0d169e63d61711e6816412f17133 /lib
parentc41aa7a20929118ce1092c603f709d06aef1da57 (diff)
downloadnextcloud-server-0f3e438f7cab87514be3896bb8acdc05defdef14.tar.gz
nextcloud-server-0f3e438f7cab87514be3896bb8acdc05defdef14.zip
Move OC.theme to the bundle and deprecate oc_defaults
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-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 2f959ea113a..15e2fd76c48 100644
--- a/lib/private/Template/JSConfigHelper.php
+++ b/lib/private/Template/JSConfigHelper.php
@@ -257,7 +257,7 @@ class JSConfigHelper {
'allowGroupSharing' => \OC::$server->getShareManager()->allowGroupSharing()
]
]),
- "oc_defaults" => json_encode([
+ "_theme" => json_encode([
'entity' => $this->defaults->getEntity(),
'name' => $this->defaults->getName(),
'title' => $this->defaults->getTitle(),