diff options
Diffstat (limited to 'h-source')
-rw-r--r-- | h-source/Application/Include/hardware.php | 1 | ||||
-rw-r--r-- | h-source/Application/Models/HardwareModel.php | 14 |
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(); } |