Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2016-08-29 12:13:29 +0300
committerPranav Kant <pranavk@collabora.co.uk>2016-08-29 12:17:31 +0300
commitc166c7b18907bb5e25144723810bf567b1910a30 (patch)
treeadfb125819c524576e857cabba3e8bbc56da32b2 /appinfo
parentfc1f22584cf0e69e6ee0381d3b8c2bc18965ad91 (diff)
Respect default settings
Support for default settings when there is none provided by user was already in lib/appconfig.php But we were using the CoreConfig object always which queries the database; lets use the appConfig object so that if the value is missing in the database, we still have the default value to take care of the app.
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/application.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/application.php b/appinfo/application.php
index fa7c1afb..6b2ca73f 100644
--- a/appinfo/application.php
+++ b/appinfo/application.php
@@ -47,6 +47,7 @@ class Application extends App {
$c->query('AppName'),
$c->query('Request'),
$c->query('CoreConfig'),
+ $c->query('AppConfig'),
$c->query('L10N'),
$c->query('UserId'),
$c->query('ICacheFactory'),