[245712] remove duplicate functions now in scripts.php
diff --git a/build/log-viewer.php b/build/log-viewer.php
index 9f30368..2ab1924 100644
--- a/build/log-viewer.php
+++ b/build/log-viewer.php
@@ -166,18 +166,4 @@
print "</div>\n";
}
-function pretty_size($bytes)
-{
- $sufs = array("B", "K", "M", "G", "T", "P"); //we shouldn't be larger than 999.9 petabytes any time soon, hopefully
- $suf = 0;
-
- while ($bytes >= 1000)
- {
- $bytes /= 1024;
- $suf++;
- }
-
- return sprintf("%3.1f%s", $bytes, $sufs[$suf]);
-}
-
?>