From 284aac2d16115e7ef3ce16be907e095cd95059ab Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 30 Jun 2016 17:25:32 +0100 Subject: [PATCH] str_match ignore case --- lib/php/db.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/php/db.php b/lib/php/db.php index 15d755c6..1d26caa9 100644 --- a/lib/php/db.php +++ b/lib/php/db.php @@ -328,15 +328,10 @@ class Db extends nb { if (isset($this->tables)) return $this->tables; $this->tables = array(); -#debug((array)$this->conn->query("SELECT name,type FROM sqlite_master WHERE type IN('table','view') AND name NOT LIKE 'sqlite_%' ORDER BY name",PDO::FETCH_ASSOC)); -#debug($this->type('tables',true,$this->type)); foreach ($this->conn->query($this->type('tables',true,$this->type),PDO::FETCH_ASSOC) as $row) { $name = current($row); $this->tables[$name] = $this->table($name,$row); -#bye($this->tables); } -#bye($this->tables); - #return array_values($this->tables); return $this->tables; } -- 2.47.3