aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver/driver.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-03-17 13:03:45 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-04-01 19:17:39 +0200
commit7b131119e6d44e8b884c592f0bf2a90cc3372980 (patch)
tree6bc0f5697e43169bedebdcc684c8112aa717c7af /phpBB/phpbb/db/driver/driver.php
parent5a3d4109bbad42367d363b616e5a705ee01388e9 (diff)
downloadforums-7b131119e6d44e8b884c592f0bf2a90cc3372980.tar
forums-7b131119e6d44e8b884c592f0bf2a90cc3372980.tar.gz
forums-7b131119e6d44e8b884c592f0bf2a90cc3372980.tar.bz2
forums-7b131119e6d44e8b884c592f0bf2a90cc3372980.tar.xz
forums-7b131119e6d44e8b884c592f0bf2a90cc3372980.zip
[ticket/12282] Add Interface for DBAL drivers
PHPBB3-12282
Diffstat (limited to 'phpBB/phpbb/db/driver/driver.php')
-rw-r--r--phpBB/phpbb/db/driver/driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/driver/driver.php b/phpBB/phpbb/db/driver/driver.php
index b61800006f..9e6e005467 100644
--- a/phpBB/phpbb/db/driver/driver.php
+++ b/phpBB/phpbb/db/driver/driver.php
@@ -13,7 +13,7 @@ namespace phpbb\db\driver;
* Database Abstraction Layer
* @package dbal
*/
-class driver
+abstract class driver implements driver_interface
{
var $db_connect_id;
var $query_result;
@@ -327,7 +327,7 @@ class driver
switch ($status)
{
case 'begin':
- // If we are within a transaction we will not open another one, but enclose the current one to not loose data (prevening auto commit)
+ // If we are within a transaction we will not open another one, but enclose the current one to not loose data (preventing auto commit)
if ($this->transaction)
{
$this->transactions++;