diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-11-19 12:18:32 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-08 22:33:29 +0100 |
commit | f0b10324caf1637d8ad5a9ed94dfed084f65407d (patch) | |
tree | 8ec82ea934049d1552e5a0b0a095c508fbfffeb7 /lib/private/server.php | |
parent | f164161f6925b5b52da6ad897463d91486b6fc4f (diff) | |
download | nextcloud-server-f0b10324caf1637d8ad5a9ed94dfed084f65407d.tar.gz nextcloud-server-f0b10324caf1637d8ad5a9ed94dfed084f65407d.zip |
Refactoring of OC_Preferences to AllConfig
* keep old static methods - mapped to new ones and deprecated
* removed deleteApp, getUsers, getApps because they are unused
* make AllConfig unit tests more robust against not cleaned up environments
Diffstat (limited to 'lib/private/server.php')
-rw-r--r-- | lib/private/server.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/server.php b/lib/private/server.php index 5a1e955bdd2..28406d87319 100644 --- a/lib/private/server.php +++ b/lib/private/server.php @@ -168,7 +168,8 @@ class Server extends SimpleContainer implements IServerContainer { }); $this->registerService('AllConfig', function (Server $c) { return new \OC\AllConfig( - $c->getSystemConfig() + $c->getSystemConfig(), + $c->getDatabaseConnection() ); }); $this->registerService('SystemConfig', function ($c) { |