summaryrefslogtreecommitdiffstats
path: root/db/newsmapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/newsmapper.php')
-rw-r--r--db/newsmapper.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/newsmapper.php b/db/newsmapper.php
index c483bd329..d946a28a6 100644
--- a/db/newsmapper.php
+++ b/db/newsmapper.php
@@ -13,13 +13,13 @@
namespace OCA\News\Db;
-use \OCP\IDb;
-use \OCP\AppFramework\Db\Entity;
-use \OCP\AppFramework\Db\Mapper;
+use OCP\IDBConnection;
+use OCP\AppFramework\Db\Entity;
+use OCP\AppFramework\Db\Mapper;
abstract class NewsMapper extends Mapper {
- public function __construct(IDb $db, $table, $entity) {
+ public function __construct(IDBConnection $db, $table, $entity) {
parent::__construct($db, $table, $entity);
}