diff --git a/dashboard/pgs/functions.php b/dashboard/pgs/functions.php index 707cc78..cdaa490 100755 --- a/dashboard/pgs/functions.php +++ b/dashboard/pgs/functions.php @@ -60,41 +60,6 @@ function CreateCode ($laenge) { return $out; } -function UpdateHashFile($HashFile, $newLastSync, $newHash) { - if (version_compare(phpversion(), "5.6", ">=")) { - $Ressource = @fopen($HashFile, "c"); - if ($Ressource) { - if (flock($Ressource, LOCK_EX)) { - @fwrite($Ressource, "'); - - @fflush($Ressource); - @ftruncate($Ressource, ftell($Ressource)); - @flock($Ressource, LOCK_UN); - } - @fclose($Ressource); - @chmod($HashFile, 0644); - return true; - } - } - else { - $Ressource = @fopen($HashFile, "w"); - if ($Ressource) { - @fwrite($Ressource, "'); - @fclose($Ressource); - @chmod($HashFile, 0644); - $CallHomeNow = true; - } - } - - return false; -} - function VNStatLocalize($str) { global $L; if (isset($L[$str])) {