summaryrefslogtreecommitdiffstats
path: root/db/mapperfactory.php
diff options
context:
space:
mode:
authorBernhard Posselt <Raydiation@users.noreply.github.com>2015-03-30 19:40:07 +0200
committerBernhard Posselt <Raydiation@users.noreply.github.com>2015-03-30 19:40:07 +0200
commit05985bc2965f8a332e98121050ba1f07343bbc0f (patch)
tree96ca5d59b7ce3c9d3678dd95d8595145d1d5df08 /db/mapperfactory.php
parenteb7fc97f33cadcf041a06915b8f1650a9b4f6bbb (diff)
parentee3d2332ec97487893ae5f1f46b599c550b25eb6 (diff)
Merge pull request #751 from owncloud/next
Changes for 8.1
Diffstat (limited to 'db/mapperfactory.php')
-rw-r--r--db/mapperfactory.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/mapperfactory.php b/db/mapperfactory.php
index 0b26574dc..6704842e4 100644
--- a/db/mapperfactory.php
+++ b/db/mapperfactory.php
@@ -13,7 +13,7 @@
namespace OCA\News\Db;
-use \OCP\IDb;
+use \OCP\IDBConnection;
use \OCA\News\Db\Mysql\ItemMapper as MysqlItemMapper;
class MapperFactory {
@@ -21,7 +21,7 @@ class MapperFactory {
private $dbType;
private $db;
- public function __construct($DatabaseType, IDb $db) {
+ public function __construct($DatabaseType, IDBConnection $db) {
$this->dbType = $DatabaseType;
$this->db = $db;
}