Merge pull request #20987 from owncloud/dont-deprecate-OC.filePath-master

OC.FilePath has still a valid use case when generating paths to stati…
This commit is contained in:
Thomas Müller 2015-12-07 16:25:53 +01:00
commit e4c5bf790d

View File

@ -174,7 +174,6 @@ var OC={
* @param {string} type the type of the file to link to (e.g. css,img,ajax.template)
* @param {string} file the filename
* @return {string} Absolute URL for a file in an app
* @deprecated use OC.generateUrl() instead
*/
filePath:function(app,type,file){
var isCore=OC.coreApps.indexOf(app)!==-1,