From 9bff33f112b2ad60f17a9a75cd154f8c21b4dc56 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 22 Apr 2013 21:40:33 -0700 Subject: remove old driver --- include/dba/dba_driver.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/dba') 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(); + } + } + } -- cgit v1.2.3