summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/db/mdb2schemareader.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/db/mdb2schemareader.php b/lib/db/mdb2schemareader.php
index 827323a5512..53eb849d86a 100644
--- a/lib/db/mdb2schemareader.php
+++ b/lib/db/mdb2schemareader.php
@@ -138,10 +138,7 @@ class OC_DB_MDB2SchemaReader {
}
if ($type == 'integer') {
$length = $options['length'];
- if ($length == 1) {
- $type = 'boolean';
- }
- else if ($length < 4) {
+ if ($length < 4) {
$type = 'smallint';
}
else if ($length > 4) {