]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Added static keyword to Utils class function member
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 20 Jun 2011 16:55:47 +0000 (18:55 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Aug 2011 09:56:16 +0000 (11:56 +0200)
gui/bacula-web/includes/utils/utils.class.php

index 7bdeca73f6916a7a825ae448cc1b615cd3433078..f4ca1776dac91004eeb257ddb58a39f9e44e35df 100644 (file)
@@ -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
+?>