summaryrefslogtreecommitdiff
path: root/framework/I18N
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2016-03-09 11:26:56 +0100
committerFabio Bas <ctrlaltca@gmail.com>2016-03-29 17:40:16 +0200
commit64d458715b1018b039d1bafca3cf9dcec511074f (patch)
treeddb39d99f587a07cdaebc8b1c323c59889a71346 /framework/I18N
parentc0627c7a5e3bd343d0b33bf0b3a37639c5f33885 (diff)
Removed deprecated code
Diffstat (limited to 'framework/I18N')
-rw-r--r--framework/I18N/core/TCache_Lite.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/framework/I18N/core/TCache_Lite.php b/framework/I18N/core/TCache_Lite.php
index 94061526..b42bf1f9 100644
--- a/framework/I18N/core/TCache_Lite.php
+++ b/framework/I18N/core/TCache_Lite.php
@@ -533,18 +533,11 @@ class TCache_Lite
// because the filesize can be cached by PHP itself...
clearstatcache();
$length = @filesize($this->_file);
- if(version_compare(PHP_VERSION, '5.3.0', 'lt'))
- {
- $mqr = get_magic_quotes_runtime();
- set_magic_quotes_runtime(0);
- }
if ($this->_readControl) {
$hashControl = @fread($fp, 32);
$length = $length - 32;
}
$data = @fread($fp, $length);
- if(isset($mqr))
- set_magic_quotes_runtime($mqr);
if ($this->_fileLocking) @flock($fp, LOCK_UN);
@fclose($fp);
if ($this->_readControl) {