]> git.nbdom.net Git - nb.git/commitdiff
www/dbq/dbq.php
authorDevops <sys@15gifts.com>
Wed, 5 Apr 2017 14:08:18 +0000 (15:08 +0100)
committerDevops <sys@15gifts.com>
Wed, 5 Apr 2017 14:08:18 +0000 (15:08 +0100)
lib/php/db.php

index e1ca169d415d9bb64c3ae23e74c856b78a525499..f250393f0a7b97036bf0f96e4002a487df676705 100644 (file)
@@ -228,20 +228,6 @@ class Db extends nb {
 
     } else {
 
-# NB 19.11.16       # Extract args from pdo
-# NB 19.11.16       foreach ($this->pdo2h($this->pdo) as $k=>$v) {
-# NB 19.11.16         $this->$k = $v;
-# NB 19.11.16       }
-
-# NB 26.10.16       if (preg_match_all("/[:;](\w+)=([^;]+)/",$this->pdo,$m,PREG_SET_ORDER)) {
-# NB 26.10.16         foreach ($m as $param) {
-# NB 26.10.16           $k = $param[1];
-# NB 26.10.16           if ($k == 'dbname') $k = 'name';
-# NB 26.10.16           if (!empty($this->$k)) continue;
-# NB 26.10.16           $this->$k = $param[2];
-# NB 26.10.16         }
-# NB 26.10.16       }
-
       # Add args to pdo
       foreach ([
         'host' => 'host',