diff options
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 6f7d171..96e160d 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -1175,20 +1175,6 @@ function walk_depend($depend, $pkgdb = "", $alreadyseen = "") { return $size; } -function squash_from_bytes($size, $round = "") { - $conv = array(1 => "B", "K", "M", "G"); - foreach ($conv as $div => $suffix) { - $sizeorig = $size; - if (($size /= 1024) < 1) { - if ($round) { - $sizeorig = round($sizeorig, $round); - } - return $sizeorig . $suffix; - } - } - return; -} - function pkg_reinstall_all() { global $g, $config; |