aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/BluetoothController.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers/BluetoothController.php')
-rw-r--r--h-source/Application/Controllers/BluetoothController.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/h-source/Application/Controllers/BluetoothController.php b/h-source/Application/Controllers/BluetoothController.php
index c763aa6..4730081 100644
--- a/h-source/Application/Controllers/BluetoothController.php
+++ b/h-source/Application/Controllers/BluetoothController.php
@@ -43,7 +43,6 @@ class BluetoothController extends GenericController
//hardware conditions
$this->m['HardwareModel']->strongConditions['update'] = array(
- "checkIsStrings|".Bluetooth::vendorsList() => "vendor",
"checkNotEmpty" => "model|you have to fill the <i>model name</i> entry",
"checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\(\)\@\[\]\/]+$/" => "model|characters not allowed in the <i>model name</i> entry",
"checkLength|99" => "model",
@@ -54,7 +53,6 @@ class BluetoothController extends GenericController
);
$this->m['HardwareModel']->strongConditions['insert'] = array(
- "checkIsStrings|".Bluetooth::vendorsList() => "vendor",
"checkNotEmpty" => "model|you have to fill the <i>model name</i> entry",
"checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\(\)\@\[\]\/]+$/" => "model|characters not allowed in the <i>model name</i> entry",
"checkLength|99" => "model",
@@ -82,7 +80,7 @@ class BluetoothController extends GenericController
"++checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\/\,\:\;\(\)\[\]]+$/" => "driver|only the following characters are allowed for the <i>driver</i> entry: a-z A-Z 0-9 - _ . + s / , : ; ( ) [ ]",
);
- $this->m['HardwareModel']->setFields('vendor,model,kernel,description,distribution,comm_year,bluetooth_works,pci_id,interface,driver','sanitizeAll');
+ $this->m['HardwareModel']->setFields('model,kernel,description,distribution,comm_year,bluetooth_works,pci_id,interface,driver','sanitizeAll');
$argKeys = array(
'page:forceNat' => 1,