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-Tag: Release-5.2.1~309 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=faea2813c842e77e08bb08592511b8e51470ac76;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 +?>