diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 19:05:56 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 19:06:17 +0100 |
commit | 8f215ec03ba57e51dbbfef004069fb1e63c8fca1 (patch) | |
tree | 21bc3a85b59d05054f5834714b5ce80ab01745dc /db/newsmapper.php | |
parent | eacd2a1755137d3016dad7177c06dc57ca033ccb (diff) |
tests
Diffstat (limited to 'db/newsmapper.php')
-rw-r--r-- | db/newsmapper.php | 4 |
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 |