diff options
author | friendica <info@friendica.com> | 2013-04-22 21:40:33 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-04-22 21:40:33 -0700 |
commit | 9bff33f112b2ad60f17a9a75cd154f8c21b4dc56 (patch) | |
tree | c94cacaa5de6a518760ce30b9ed0907d2931b7ec /include/dba | |
parent | 150b18005ac69896894d2c7e2b3fccc3c23eefec (diff) | |
download | volse-hubzilla-9bff33f112b2ad60f17a9a75cd154f8c21b4dc56.tar.gz volse-hubzilla-9bff33f112b2ad60f17a9a75cd154f8c21b4dc56.tar.bz2 volse-hubzilla-9bff33f112b2ad60f17a9a75cd154f8c21b4dc56.zip |
remove old driver
Diffstat (limited to 'include/dba')
-rw-r--r-- | include/dba/dba_driver.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php index 2f0555718..cdc79e9a1 100644 --- a/include/dba/dba_driver.php +++ b/include/dba/dba_driver.php @@ -60,6 +60,16 @@ abstract class dba_driver { } + function dbg($dbg) { + $this->debug = $dbg; + } + + function __destruct() { + if($this->db && $this->connected) { + $this->close(); + } + } + } |