1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00

Merge pull request #720 from owncloud/drop-oc_preferences

migrate from OC_Preferences to DI config object
This commit is contained in:
jbtbnl 2014-12-01 11:19:16 +01:00
commit 9862f45652

View File

@ -458,8 +458,7 @@ abstract class AbstractBackend {
public function removePreferences($addressbookid) {
$key = $this->combinedKey($addressbookid);
$key = 'prefs_' . $key;
\OC_Preferences::deleteKey( $this->userid, 'contacts', $key );
\OC::$server->getConfig()->deleteUserValue( $this->userid, 'contacts', $key );
}
}