summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-11-23 21:48:39 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2012-11-28 23:08:15 +0100
commit5b1dea56e551df1306bd2046c3d06f1e589b4c03 (patch)
treeeb35c601a7a82ab7081951c1ff66dba69a6301f1 /lib/public
parentfba8c776e16d87e3e5b944cd156ec94e3c1aff6a (diff)
downloadnextcloud-server-5b1dea56e551df1306bd2046c3d06f1e589b4c03.tar.gz
nextcloud-server-5b1dea56e551df1306bd2046c3d06f1e589b4c03.zip
change name to IAddressBook
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/contacts.php12
1 files changed, 6 insertions, 6 deletions
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();
}