[Pkg-owncloud-commits] [owncloud] 126/172: use registerService method instead of array access

David Prévot taffit at moszumanska.debian.org
Sun May 18 20:09:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit d8020c3506b3f09d090b427dcfa4c5a6ed3e0476
Author: Bernhard Posselt <dev at bernhard-posselt.com>
Date:   Wed May 14 01:08:14 2014 +0200

    use registerService method instead of array access
---
 lib/private/server.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/server.php b/lib/private/server.php
index fd8c2c3..47bdee4 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -186,7 +186,7 @@ class Server extends SimpleContainer implements IServerContainer {
 			}
 			return $router;
 		});
-		$this['Db'] = $this->share(function($c){
+		$this->registerService('Db', function($c){
 			return new Db();
 		});
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list