| @@ 45-51 (lines=7) @@ | ||
| 42 | /** @var IConfig */ |
|
| 43 | private $config; |
|
| 44 | ||
| 45 | public function __construct(IManager $contactsManager, ICloudIdManager $cloudIdManager, IConfig $config) { |
|
| 46 | $this->contactsManager = $contactsManager; |
|
| 47 | $this->cloudIdManager = $cloudIdManager; |
|
| 48 | $this->config = $config; |
|
| 49 | ||
| 50 | $this->shareeEnumeration = $this->config->getAppValue('core', 'shareapi_allow_share_dialog_user_enumeration', 'yes') === 'yes'; |
|
| 51 | } |
|
| 52 | ||
| 53 | /** |
|
| 54 | * @param $search |
|
| @@ 45-51 (lines=7) @@ | ||
| 42 | /** @var IConfig */ |
|
| 43 | private $config; |
|
| 44 | ||
| 45 | public function __construct(IManager $contactsManager, ICloudIdManager $cloudIdManager, IConfig $config) { |
|
| 46 | $this->contactsManager = $contactsManager; |
|
| 47 | $this->cloudIdManager = $cloudIdManager; |
|
| 48 | $this->config = $config; |
|
| 49 | ||
| 50 | $this->shareeEnumeration = $this->config->getAppValue('core', 'shareapi_allow_share_dialog_user_enumeration', 'yes') === 'yes'; |
|
| 51 | } |
|
| 52 | ||
| 53 | public function search($search, $limit, $offset, ISearchResult $searchResult) { |
|
| 54 | $result = ['wide' => [], 'exact' => []]; |
|