diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-02 12:37:12 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-02 12:37:12 +0100 |
commit | c9006d6d560b5b9c0f7df103d68b7b3184fcf439 (patch) | |
tree | 48b9cd711a602d8400f4723959ebd369b930fd96 /lib/base.php | |
parent | 8ebdfd0e05331ed557920dac915653c309424797 (diff) | |
parent | dfb88612af23c8367e799482ec982fcf6fe96c49 (diff) | |
download | nextcloud-server-c9006d6d560b5b9c0f7df103d68b7b3184fcf439.tar.gz nextcloud-server-c9006d6d560b5b9c0f7df103d68b7b3184fcf439.zip |
Merge pull request #21988 from owncloud/allow-search-in-synced-addressbooks
Allow search in synced addressbooks
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/base.php b/lib/base.php index 56ff1cb8962..fc4a99287d0 100644 --- a/lib/base.php +++ b/lib/base.php @@ -645,7 +645,6 @@ class OC { } self::registerShareHooks(); self::registerLogRotate(); - self::registerLocalAddressBook(); self::registerEncryptionWrapper(); self::registerEncryptionHooks(); @@ -701,14 +700,6 @@ class OC { \OC::$server->getEventLogger()->end('boot'); } - private static function registerLocalAddressBook() { - self::$server->getContactsManager()->register(function() { - $userManager = \OC::$server->getUserManager(); - \OC::$server->getContactsManager()->registerAddressBook( - new \OC\Contacts\LocalAddressBook($userManager)); - }); - } - /** * register hooks for the cache */ |