]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/lib.php
remove IP blocking and rate-limiting code
[nominatim.git] / lib / lib.php
index ec5b9b1f4330f3a68cce22ef2959767045ddeaaa..1f772331ce95b75b24337bec7af8bd8aea3f874b 100644 (file)
@@ -9,14 +9,6 @@
        }
 
 
-       function getLoadAverage()
-       {
-               $sLoadAverage = file_get_contents('/proc/loadavg');
-               $aLoadAverage = explode(' ',$sLoadAverage);
-               return (float)$aLoadAverage[0];
-       }
-
-
        function getProcessorCount()
        {
                $sCPU = file_get_contents('/proc/cpuinfo');