From 9c550a07ed439bf589fc5e3ebe7c3f2fe1807449 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Mon, 7 Dec 2015 12:23:42 +0100 Subject: OC.FilePath has still a valid use case when generating paths to static files what for generateUrl cannot be used for - closes #15604 --- core/js/js.js | 1 - 1 file changed, 1 deletion(-) (limited to 'core/js') diff --git a/core/js/js.js b/core/js/js.js index cbdffd0f016..2937d3f6eb1 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -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, -- cgit v1.2.3