Merge pull request #11692 from nextcloud/refactor/remove-noop-oc-appconfig

Remove deprecated and noop APIs from OC.AppConfig
This commit is contained in:
Morris Jobke 2018-10-09 08:58:19 +02:00 committed by GitHub
commit 71981b914d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,24 +57,10 @@ OC.AppConfig={
}); });
}, },
/**
* @deprecated
*/
hasKey:function(app,key,callback){
console.error('OC.AppConfig.hasKey is not supported anymore. Use OCP.AppConfig.getValue instead.');
},
/** /**
* @deprecated Use OCP.AppConfig.deleteKey() instead * @deprecated Use OCP.AppConfig.deleteKey() instead
*/ */
deleteKey:function(app,key){ deleteKey:function(app,key){
OCP.AppConfig.deleteKey(app, key); OCP.AppConfig.deleteKey(app, key);
},
/**
* @deprecated
*/
deleteApp:function(app){
console.error('OC.AppConfig.deleteApp is not supported anymore.');
} }
}; };