summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-08 16:33:41 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-08 16:33:41 +0200
commitdccb3ab5b2c8f8029823d20ee3e6dd14a5098d87 (patch)
treed32b109df4394a4ebaf7ddf023c67904db529a0e /core/js
parent8110a3be699bbdea96df30472dce7862e0964901 (diff)
downloadnextcloud-server-dccb3ab5b2c8f8029823d20ee3e6dd14a5098d87.tar.gz
nextcloud-server-dccb3ab5b2c8f8029823d20ee3e6dd14a5098d87.zip
Remove deprecated SVG helpers for old IEs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 8e7796143d5..8cfb31fcaed 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1981,33 +1981,6 @@ OC.Util = {
}
return moment(timestamp).fromNow();
},
- /**
- * Returns whether the browser supports SVG
- * @deprecated SVG is always supported (since 9.0)
- * @return {boolean} true if the browser supports SVG, false otherwise
- */
- hasSVGSupport: function(){
- return true;
- },
- /**
- * If SVG is not supported, replaces the given icon's extension
- * from ".svg" to ".png".
- * If SVG is supported, return the image path as is.
- * @param {string} file image path with svg extension
- * @deprecated SVG is always supported (since 9.0)
- * @return {string} fixed image path with png extension if SVG is not supported
- */
- replaceSVGIcon: function(file) {
- return file;
- },
- /**
- * Replace SVG images in all elements that have the "svg" class set
- * with PNG images.
- *
- * @param $el root element from which to search, defaults to $('body')
- * @deprecated SVG is always supported (since 9.0)
- */
- replaceSVG: function($el) {},
/**
* Fix image scaling for IE8, since background-size is not supported.