mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Remove deprecated functions for php 7.4
This commit is contained in:
@@ -501,7 +501,7 @@ class PEAR_DependencyDB
|
||||
$err = PEAR::raiseError("Could not open dependencies file `".$this->_depdb."'");
|
||||
return $err;
|
||||
}
|
||||
$rt = get_magic_quotes_runtime();
|
||||
$rt = 0;
|
||||
set_magic_quotes_runtime(0);
|
||||
clearstatcache();
|
||||
if (function_exists('file_get_contents')) {
|
||||
@@ -531,7 +531,7 @@ class PEAR_DependencyDB
|
||||
$this->_unlock();
|
||||
return PEAR::raiseError("Could not open dependencies file `".$this->_depdb."' for writing");
|
||||
}
|
||||
$rt = get_magic_quotes_runtime();
|
||||
$rt = 0;
|
||||
set_magic_quotes_runtime(0);
|
||||
fwrite($fp, serialize($deps));
|
||||
set_magic_quotes_runtime($rt);
|
||||
|
||||
Reference in New Issue
Block a user