1
0
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:
Thomas Tanghus 2014-04-16 17:12:02 +02:00
parent 490d7f83ec
commit 25446f0e48
2 changed files with 8 additions and 4 deletions

View File

@ -457,4 +457,8 @@ abstract class AbstractBackend {
? \OCP\Config::setUserValue($this->userid, 'contacts', $key, $data)
: false;
}
public function getSearchProvider($addressbook) {
}
}

View File

@ -1018,9 +1018,9 @@ 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);
}
}