1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +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 );
}
}