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:
commit
9862f45652
@ -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 );
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user