summaryrefslogtreecommitdiffstats
path: root/bl/bl.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-22 13:20:24 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-22 13:20:24 +0100
commit196177a0ca3fc0103d359eec44f46173be685413 (patch)
treef721b656d64e240050980420202873e94f6e9edc /bl/bl.php
parent7a579b42fa731b65db26bd0c026bc68f2339c451 (diff)
removed mapper parent class and use the new mapper methods from the framework
Diffstat (limited to 'bl/bl.php')
-rw-r--r--bl/bl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/bl/bl.php b/bl/bl.php
index eeabdcb17..ee4ace588 100644
--- a/bl/bl.php
+++ b/bl/bl.php
@@ -28,14 +28,14 @@ namespace OCA\News\Bl;
use \OCA\AppFramework\Db\DoesNotExistException;
use \OCA\AppFramework\Db\MultipleObjectsReturnedException;
-use \OCA\News\Db\NewsMapper;
+use \OCA\News\Db\IMapper;
abstract class Bl {
protected $mapper;
- public function __construct(NewsMapper $mapper){
+ public function __construct(IMapper $mapper){
$this->mapper = $mapper;
}