Просмотр исходного кода

[PHP 5.3 COMPAT] Removed code referencing set_magic_quotes_runtime; deprecated in 5.3

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16973 44c647ce-9c0f-0410-b52a-842ac1e357ba
matthew 16 лет назад
Родитель
Сommit
0fd6cc1976
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      library/Zend/Cache/Backend/File.php

+ 0 - 4
library/Zend/Cache/Backend/File.php

@@ -947,10 +947,6 @@ class Zend_Cache_Backend_File extends Zend_Cache_Backend implements Zend_Cache_B
         if (!is_file($file)) {
             return false;
         }
-        if (function_exists('get_magic_quotes_runtime')) {
-            $mqr = @get_magic_quotes_runtime();
-            @set_magic_quotes_runtime(0);
-        }
         $f = @fopen($file, 'rb');
         if ($f) {
             if ($this->_options['file_locking']) @flock($f, LOCK_SH);