mirror of
https://github.com/nextcloud/server.git
synced 2024-08-30 17:57:26 +02:00
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:
commit
e4c5bf790d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user