Refactored Controller

Refactored Database adapters

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
Gregory PLANCHAT 2012-03-01 18:20:05 +01:00
commit 03efb85c0b
76 changed files with 502 additions and 457 deletions

View file

@ -36,9 +36,9 @@ function MissionCaseAttack($FleetRow)
{
global $lang;
$pricelist = Wootook_Empire_Model_Game_Prices::getSingleton();
$resource = Wootook_Empire_Model_Game_FieldsAlias::getSingleton();
$CombatCaps = Wootook_Empire_Model_Game_Combat::getSingleton();
$pricelist = Wootook_Empire_Helper_Config_Prices::getSingleton();
$resource = Wootook_Empire_Helper_Config_FieldsAlias::getSingleton();
$CombatCaps = Wootook_Empire_Helper_Config_Combat::getSingleton();
if ($FleetRow['fleet_mess'] == 0 && $FleetRow['fleet_start_time'] <= time()) {

View file

@ -37,7 +37,7 @@ function MissionCaseSpy($FleetRow)
{
global $lang;
$resource = Wootook_Empire_Model_Game_FieldsAlias::getSingleton();
$resource = Wootook_Empire_Helper_Config_FieldsAlias::getSingleton();
if ($FleetRow['fleet_start_time'] <= time()) {
// refactored parts