From 5b1dea56e551df1306bd2046c3d06f1e589b4c03 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Fri, 23 Nov 2012 21:48:39 +0100 Subject: change name to IAddressBook --- lib/public/contacts.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/public/contacts.php') diff --git a/lib/public/contacts.php b/lib/public/contacts.php index 51d4e03f006..36195ef9c24 100644 --- a/lib/public/contacts.php +++ b/lib/public/contacts.php @@ -27,7 +27,7 @@ */ namespace OC { - interface AddressBook { + interface IAddressBook { /** * @return string defining the technical unique key @@ -165,16 +165,16 @@ namespace OCP { } /** - * @param \OC\AddressBook $address_book + * @param \OC\IAddressBook $address_book */ - public static function registerAddressBook(\OC\AddressBook $address_book) { + public static function registerAddressBook(\OC\IAddressBook $address_book) { self::$address_books[$address_book->getKey()] = $address_book; } /** - * @param \OC\AddressBook $address_book + * @param \OC\IAddressBook $address_book */ - public static function unregisterAddressBook(\OC\AddressBook $address_book) { + public static function unregisterAddressBook(\OC\IAddressBook $address_book) { unset(self::$address_books[$address_book->getKey()]); } @@ -191,7 +191,7 @@ namespace OCP { } /** - * @var \OC\AddressBook[] which holds all registered address books + * @var \OC\IAddressBook[] which holds all registered address books */ private static $address_books = array(); } -- cgit v1.2.3