summaryrefslogtreecommitdiff
path: root/pages/about.inc
diff options
context:
space:
mode:
Diffstat (limited to 'pages/about.inc')
-rw-r--r--pages/about.inc16
1 files changed, 0 insertions, 16 deletions
diff --git a/pages/about.inc b/pages/about.inc
index 0e0857e..8a62d66 100644
--- a/pages/about.inc
+++ b/pages/about.inc
@@ -44,22 +44,6 @@ $sizeData = array_reduce(array_map(function ($i) {
return $a + $b;
});
-function prettySize($bytes) {
- if ($bytes > 1024) {
- if ($bytes > 1024**2) {
- if ($bytes > 1024**3) {
- return round($bytes / 1024**3, 1) . " GB";
- } else {
- return round($bytes / 1024**2, 1) . " MB";
- }
- } else {
- return round($bytes / 1024, 1) . " KB";
- }
- } else {
- return $bytes . " B";
- }
-}
-
?>
<br>