1
0
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:
Morris Jobke 2014-11-28 16:51:10 +01:00
parent eb79b4ddce
commit f6ac4ea683

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 );
}
}