From 8cc1f13c17fa2fb5a4410542d39e650e02945634 Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 23 Feb 2023 14:20:13 +0100 Subject: Updated 27 files, added assets/uploads/pt-twilightsparkle.png and deleted 3 files (automated) --- pages/about.inc | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'pages/about.inc') 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"; - } -} - ?>
-- cgit