]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Removed useless array_fill.func.php file
authorDavide Franco <bacula-dev@dflc.ch>
Thu, 17 Mar 2011 16:37:38 +0000 (17:37 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:07 +0000 (14:49 +0200)
 - Removed include in bweb.inc.php
 - Removed file array_fill.func.php from git

gui/bacula-web/array_fill.func.php [deleted file]
gui/bacula-web/bweb.inc.php

diff --git a/gui/bacula-web/array_fill.func.php b/gui/bacula-web/array_fill.func.php
deleted file mode 100644 (file)
index d6c23c8..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-// For PHP version < 4.2.0 missing the array_fill function,
-// I provide here an alternative. -Philippe
-
-function array_fill($iStart, $iLen, $vValue) {
-       $aResult = array();
-    for ($iCount = $iStart; $iCount < $iLen + $iStart; $iCount++) {
-       $aResult[$iCount] = $vValue;
-    }
-    return $aResult;
-}
-                       
-?>
\ No newline at end of file
index a8deebae6ac5dc982e5a874f0957596f1b34164d..378a629c348a6be7d657bd66938ffb004a679dab 100644 (file)
@@ -20,10 +20,6 @@ require_once "config.inc.php";
 require_once "bgraph.inc.php";
 require_once($smarty_path."Config_File.class.php");
 
-if (!function_exists('array_fill')) {                                                                                   // For PHP < 4.2.0 users 
-    require_once('array_fill.func.php');
-}
-
 class Bweb extends DB {
 
     var $StartDate;