mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Add getSearchProvider() to AbstractBackend. Refs #465
This commit is contained in:
parent
490d7f83ec
commit
25446f0e48
@ -457,4 +457,8 @@ abstract class AbstractBackend {
|
||||
? \OCP\Config::setUserValue($this->userid, 'contacts', $key, $data)
|
||||
: false;
|
||||
}
|
||||
|
||||
public function getSearchProvider($addressbook) {
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1019,8 +1019,8 @@ class Database extends AbstractBackend {
|
||||
return self::$preparedQueries[$identifier];
|
||||
}
|
||||
|
||||
public function getSearchProvider($addressbook){
|
||||
return new \OCA\Contacts\AddressbookProvider($addressbook);
|
||||
}
|
||||
public function getSearchProvider($addressbook) {
|
||||
return new \OCA\Contacts\AddressbookProvider($addressbook);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user