[Pkg-owncloud-commits] [owncloud] 17/199: no return on register and unregister

David Prévot taffit at moszumanska.debian.org
Sun Jun 1 18:53:04 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 8749442fec81da051cb1b61ee4a87b0c078fb3bf
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Mon May 19 21:39:19 2014 +0200

    no return on register and unregister
---
 lib/public/contacts.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/public/contacts.php b/lib/public/contacts.php
index fb88c13..5311050 100644
--- a/lib/public/contacts.php
+++ b/lib/public/contacts.php
@@ -134,7 +134,7 @@ namespace OCP {
 		 */
 		public static function registerAddressBook(\OCP\IAddressBook $address_book) {
 			$cm = \OC::$server->getContactsManager();
-			return $cm->registerAddressBook($address_book);
+			$cm->registerAddressBook($address_book);
 		}
 
 		/**
@@ -142,7 +142,7 @@ namespace OCP {
 		 */
 		public static function unregisterAddressBook(\OCP\IAddressBook $address_book) {
 			$cm = \OC::$server->getContactsManager();
-			return $cm->unregisterAddressBook($address_book);
+			$cm->unregisterAddressBook($address_book);
 		}
 
 		/**

-- 
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