summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-06 12:29:51 -0800
committerLukas Reschke <lukas@statuscode.ch>2013-02-06 12:29:51 -0800
commit2dfe67423da377999de7d3e239adf658bf6df0b5 (patch)
tree88ada778b45d5056c97591bec06ee2d324eeadbf /lib
parente969a78cf998a6a5607e605d65b7bf1b35259cb8 (diff)
parenta4d3cc798fe8b9ee4d0c13ee89059129b265c6b8 (diff)
downloadnextcloud-server-2dfe67423da377999de7d3e239adf658bf6df0b5.tar.gz
nextcloud-server-2dfe67423da377999de7d3e239adf658bf6df0b5.zip
Merge pull request #1509 from owncloud/correct-public-contacts-tests
Correct lib/public/contacts.php tests
Diffstat (limited to 'lib')
-rw-r--r--lib/public/contacts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/contacts.php b/lib/public/contacts.php
index 44d82c37908..88d812e735a 100644
--- a/lib/public/contacts.php
+++ b/lib/public/contacts.php
@@ -149,14 +149,14 @@ namespace OCP {
/**
* @param \OCP\IAddressBook $address_book
*/
- public static function registerAddressBook($address_book) {
+ public static function registerAddressBook(\OCP\IAddressBook $address_book) {
self::$address_books[$address_book->getKey()] = $address_book;
}
/**
* @param \OCP\IAddressBook $address_book
*/
- public static function unregisterAddressBook($address_book) {
+ public static function unregisterAddressBook(\OCP\IAddressBook $address_book) {
unset(self::$address_books[$address_book->getKey()]);
}