Merge pull request #11692 from nextcloud/refactor/remove-noop-oc-appconfig
Remove deprecated and noop APIs from OC.AppConfig
This commit is contained in:
commit
71981b914d
1 changed files with 0 additions and 14 deletions
|
@ -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.');
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue