aboutsummaryrefslogtreecommitdiff
path: root/h-source
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2010-12-22 23:56:20 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2010-12-22 23:56:20 +0000
commit58214267999e01688b9d885dbf5fe02f14b3be8e (patch)
tree56551221a94be0297c13f1bd2f9a5ddad7e2603b /h-source
parentaff1f89df0e3fe33175d77e6cd5b8ca41e2c61c5 (diff)
added Realtek vendor and dropped the check upon the model name (it can be duplicated)
Diffstat (limited to 'h-source')
-rw-r--r--h-source/Application/Include/hardware.php1
-rw-r--r--h-source/Application/Models/HardwareModel.php14
2 files changed, 8 insertions, 7 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php
index f363d72..852cd62 100644
--- a/h-source/Application/Include/hardware.php
+++ b/h-source/Application/Include/hardware.php
@@ -83,6 +83,7 @@ class Wifi extends hardware
"NEC" => "NEC",
"Netgear" => "Netgear",
"Ralink" => "Ralink",
+ "Realtek" => "Realtek",
"TOSHIBA" => "TOSHIBA",
"TP-LINK" => "TP-LINK",
);
diff --git a/h-source/Application/Models/HardwareModel.php b/h-source/Application/Models/HardwareModel.php
index c6d4772..fb41fa3 100644
--- a/h-source/Application/Models/HardwareModel.php
+++ b/h-source/Application/Models/HardwareModel.php
@@ -60,13 +60,13 @@ class HardwareModel extends Model_Map {
'-deleted'=>'DELETED?',
);
- $this->databaseConditions['insert'] = array(
- 'checkUnique' => 'model',
- );
-
- $this->databaseConditions['update'] = array(
- 'checkUniqueCompl' => 'model',
- );
+// $this->databaseConditions['insert'] = array(
+// 'checkUnique' => 'model',
+// );
+//
+// $this->databaseConditions['update'] = array(
+// 'checkUniqueCompl' => 'model',
+// );
parent::__construct();
}