summaryrefslogtreecommitdiffstats
path: root/db/newsmapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/newsmapper.php')
-rw-r--r--db/newsmapper.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/newsmapper.php b/db/newsmapper.php
index da928bd67..bc2cf5679 100644
--- a/db/newsmapper.php
+++ b/db/newsmapper.php
@@ -32,10 +32,12 @@ use \OCA\AppFramework\Core\API;
abstract class NewsMapper extends Mapper {
+
public function __construct(API $api, $tableName) {
parent::__construct($api, $tableName);
}
+
protected function findRow($sql, $id, $userId){
$result = $this->execute($sql, array($id, $userId));
@@ -50,4 +52,6 @@ abstract class NewsMapper extends Mapper {
return $row;
}
}
+
+
} \ No newline at end of file