2
0
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:
Adam Zammit
2021-01-28 14:24:26 +11:00
parent ad6d89834b
commit 30c4376765
14 changed files with 37 additions and 37 deletions

View File

@@ -696,7 +696,7 @@ class PEAR_Registry extends PEAR
return $this->raiseError('PEAR_Registry: could not open filemap "' . $this->filemap . '"', PEAR_REGISTRY_ERROR_FILE, null, null, $php_errormsg);
}
clearstatcache();
$rt = get_magic_quotes_runtime();
$rt = 0;
set_magic_quotes_runtime(0);
$fsize = filesize($this->filemap);
if (function_exists('file_get_contents')) {
@@ -998,7 +998,7 @@ class PEAR_Registry extends PEAR
if ($fp === null) {
return null;
}
$rt = get_magic_quotes_runtime();
$rt = 0;
set_magic_quotes_runtime(0);
clearstatcache();
if (function_exists('file_get_contents')) {
@@ -1040,7 +1040,7 @@ class PEAR_Registry extends PEAR
if ($fp === null) {
return null;
}
$rt = get_magic_quotes_runtime();
$rt = 0;
set_magic_quotes_runtime(0);
clearstatcache();
if (function_exists('file_get_contents')) {