From: Davide Franco Date: Mon, 20 Jun 2011 16:55:47 +0000 (+0200) Subject: bacula-web: Added static keyword to Utils class function member X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9381a77d2163fc83d0d895977a915155c00f79d7;p=bacula%2Fbacula bacula-web: Added static keyword to Utils class function member --- diff --git a/gui/bacula-web/includes/utils/utils.class.php b/gui/bacula-web/includes/utils/utils.class.php index 7bdeca73f6..f4ca1776da 100644 --- a/gui/bacula-web/includes/utils/utils.class.php +++ b/gui/bacula-web/includes/utils/utils.class.php @@ -15,7 +15,7 @@ +-------------------------------------------------------------------------+ */ class Utils { - public function Get_Human_Size( $size, $decimal = 2, $unit = 'auto' ) + static public function Get_Human_Size( $size, $decimal = 2, $unit = 'auto' ) { $unit_id = 0; $lisible = false; @@ -46,4 +46,4 @@ class Utils { return $hsize; } } -?> \ No newline at end of file +?>