[Pkg-owncloud-commits] [owncloud-doc] 12/110: Bad class in register service AuthorMapper

David Prévot taffit at moszumanska.debian.org
Fri Feb 6 21:10:22 UTC 2015


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

taffit pushed a commit to branch master
in repository owncloud-doc.

commit 1544d12b16760fb6de2117ba1222ddaf66e37a96
Author: drarko <drarko at users.noreply.github.com>
Date:   Wed Dec 10 16:26:43 2014 -0300

    Bad class in register service AuthorMapper
    
    return new AuthorService
    
    replaced by
    
    return new AuthorMapper
    Conflicts:
    	developer_manual/app/container.rst
---
 developer_manual/app/container.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/developer_manual/app/container.rst b/developer_manual/app/container.rst
index 2553292..940161d 100644
--- a/developer_manual/app/container.rst
+++ b/developer_manual/app/container.rst
@@ -103,8 +103,8 @@ To add the app's classes simply open the :file:`appinfo/application.php` use the
       /**
        * Services
        */
-      $container->registerService('AuthorMappers', function($c){
-        return new AuthorService(
+      $container->registerService('AuthorMapper', function($c){
+        return new AuthorMapper(
           $c->query('ServerContainer')->getDb()
         );
       });

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



More information about the Pkg-owncloud-commits mailing list