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)
|
? \OCP\Config::setUserValue($this->userid, 'contacts', $key, $data)
|
||||||
: false;
|
: false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getSearchProvider($addressbook) {
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1018,9 +1018,9 @@ class Database extends AbstractBackend {
|
|||||||
|
|
||||||
return self::$preparedQueries[$identifier];
|
return self::$preparedQueries[$identifier];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSearchProvider($addressbook){
|
public function getSearchProvider($addressbook) {
|
||||||
return new \OCA\Contacts\AddressbookProvider($addressbook);
|
return new \OCA\Contacts\AddressbookProvider($addressbook);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user