aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba/dba_driver.php
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2014-11-22 13:27:52 -0800
committerHabeas Codice <habeascodice@federated.social>2014-11-22 13:27:52 -0800
commit8ac3b938fde2ccd7719ac1c22ef5460b35298d78 (patch)
tree7d8e3a730eb26f3abe659c16baef333a198b08b1 /include/dba/dba_driver.php
parentab5bf1b7d69f4027f595eef56cf4d99207b8b46e (diff)
downloadvolse-hubzilla-8ac3b938fde2ccd7719ac1c22ef5460b35298d78.tar.gz
volse-hubzilla-8ac3b938fde2ccd7719ac1c22ef5460b35298d78.tar.bz2
volse-hubzilla-8ac3b938fde2ccd7719ac1c22ef5460b35298d78.zip
added dbdriver to siteinfo json to better track affected sites
Diffstat (limited to 'include/dba/dba_driver.php')
-rwxr-xr-xinclude/dba/dba_driver.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php
index a62a5e6e2..4a0f5e37b 100755
--- a/include/dba/dba_driver.php
+++ b/include/dba/dba_driver.php
@@ -104,6 +104,12 @@ abstract class dba_driver {
*/
abstract function close();
+ /**
+ * @brief Return text name for db driver
+ *
+ * This abstract function needs to be implemented in the real driver.
+ */
+ abstract function getdriver();
function __construct($server, $port, $user,$pass,$db,$install = false) {
if(($install) && (! $this->install($server, $port, $user, $pass, $db))) {