Ignore:
Timestamp:
Aug 15, 2013, 11:17:26 PM (11 years ago)
Author:
chronos
Message:
  • Fixed: System variable as parameter to constructors of descendents of Module class.
  • Removed: End PHP mark "?>" from all files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/Application/Model/Platform.php

    r78 r93  
    77  var $Id;
    88 
    9   function __construct($Database)
     9  function __construct($System)
    1010  {
    11     $this->Database = $Database;
     11    parent::__construct($System);
    1212  }
    1313 
     
    4646  function State()
    4747  {
    48     global $Config;
    49    
    5048    $State = array();
    5149    $State['MemoryUsed'] = $this->MemoryUsage();
     
    7674    $DbRow = $DbResult->fetch_row();
    7775    $State['TaskQueued'] = $DbRow[0];
    78     $State['ServerMaxCount'] = $Config['MaxServerCount'];
     76    $State['ServerMaxCount'] = $this->Config['MaxServerCount'];
    7977    return($State);
    8078  } 
    8179}
    82 
    83 ?>
Note: See TracChangeset for help on using the changeset viewer.