From e396d151b9c48339cc62c84bb728e2e03f479f4e Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sat, 30 Oct 2010 17:38:27 +0000 Subject: improved the way interfaces can be listed --- h-source/Application/Controllers/ThreegcardsController.php | 4 ++-- h-source/Application/Controllers/WifiController.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'h-source/Application/Controllers') diff --git a/h-source/Application/Controllers/ThreegcardsController.php b/h-source/Application/Controllers/ThreegcardsController.php index 7d76023..438af1f 100644 --- a/h-source/Application/Controllers/ThreegcardsController.php +++ b/h-source/Application/Controllers/ThreegcardsController.php @@ -48,7 +48,7 @@ class ThreegcardsController extends GenericController "+checkLength|299" => "distribution", "++checkIsStrings|".ThreeGcards::$commYear => "comm_year", "+++checkIsStrings|".ThreeGcards::$select => "wifi_works", - "++++checkIsStrings|".ThreeGcards::$interface => "interface", + "++++checkIsStrings|".ThreeGcards::interfaceList() => "interface", ); $this->m['HardwareModel']->strongConditions['insert'] = array( @@ -59,7 +59,7 @@ class ThreegcardsController extends GenericController "+checkLength|299" => "distribution", "++checkIsStrings|".ThreeGcards::$commYear => "comm_year", "+++checkIsStrings|".ThreeGcards::$select => "wifi_works", - "++++checkIsStrings|".ThreeGcards::$interface => "interface", + "++++checkIsStrings|".ThreeGcards::interfaceList() => "interface", ); $this->m['HardwareModel']->softConditions['update'] = array( diff --git a/h-source/Application/Controllers/WifiController.php b/h-source/Application/Controllers/WifiController.php index 8313ffc..6347274 100644 --- a/h-source/Application/Controllers/WifiController.php +++ b/h-source/Application/Controllers/WifiController.php @@ -48,7 +48,7 @@ class WifiController extends GenericController "+checkLength|299" => "distribution", "++checkIsStrings|".Wifi::$commYear => "comm_year", "+++checkIsStrings|".Wifi::$wifiSelect => "wifi_works", - "++++checkIsStrings|".Wifi::$interface => "interface", + "++++checkIsStrings|".Wifi::interfaceList() => "interface", ); $this->m['HardwareModel']->strongConditions['insert'] = array( @@ -59,7 +59,7 @@ class WifiController extends GenericController "+checkLength|299" => "distribution", "++checkIsStrings|".Wifi::$commYear => "comm_year", "+++checkIsStrings|".Wifi::$wifiSelect => "wifi_works", - "++++checkIsStrings|".Wifi::$interface => "interface", + "++++checkIsStrings|".Wifi::interfaceList() => "interface", ); $this->m['HardwareModel']->softConditions['update'] = array( -- cgit v1.2.3