mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
migrate from OC_Preferences to DI config object
This commit is contained in:
parent
eb79b4ddce
commit
f6ac4ea683
@ -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