]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix ownCloud for php5.3.x
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 8 Jan 2014 15:07:01 +0000 (16:07 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 8 Jan 2014 15:07:01 +0000 (16:07 +0100)
lib/private/server.php

index 5977ee9b5a068309639088f6f43f1a6e5bc9173d..2cbd37a97d71df84db180694b93cc423674c09ac 100644 (file)
@@ -128,7 +128,8 @@ class Server extends SimpleContainer implements IServerContainer {
                        return new \OC\L10N\Factory();
                });
                $this->registerService('URLGenerator', function($c) {
-                       $config = $this->getConfig();
+                       /** @var $c SimpleContainer */
+                       $config = $c->query('AllConfig');
                        return new \OC\URLGenerator($config);
                });
                $this->registerService('AppHelper', function($c) {