aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_Template.php5
-rw-r--r--lib/private/legacy/OC_Util.php14
2 files changed, 0 insertions, 19 deletions
diff --git a/lib/private/legacy/OC_Template.php b/lib/private/legacy/OC_Template.php
index b4bc290429a..9dfdb87e5ee 100644
--- a/lib/private/legacy/OC_Template.php
+++ b/lib/private/legacy/OC_Template.php
@@ -120,11 +120,6 @@ class OC_Template extends \OC\Template\Base {
}
OC_Util::addScript('core', 'dist/main', true);
- if (\OC::$server->getRequest()->isUserAgent([\OC\AppFramework\Http\Request::USER_AGENT_IE])) {
- // shim for the davclient.js library
- \OCP\Util::addScript('dist/files_iedavclient');
- }
-
self::$initTemplateEngineFirstRun = false;
}
}
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index 078e3cf9a03..6239583160b 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -837,7 +837,6 @@ class OC_Util {
'json_encode' => 'JSON',
'gd_info' => 'GD',
'gzencode' => 'zlib',
- 'iconv' => 'iconv',
'simplexml_load_string' => 'SimpleXML',
'hash' => 'HASH Message Digest Framework',
'curl_init' => 'cURL',
@@ -1444,17 +1443,4 @@ class OC_Util {
return false;
}
}
-
- /**
- * is this Internet explorer ?
- *
- * @return boolean
- */
- public static function isIe() {
- if (!isset($_SERVER['HTTP_USER_AGENT'])) {
- return false;
- }
-
- return preg_match(Request::USER_AGENT_IE, $_SERVER['HTTP_USER_AGENT']) === 1;
- }
}