summaryrefslogtreecommitdiffstats
path: root/db/imapper.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-08 14:52:09 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-08 14:52:09 +0200
commitc96445eadb1dbf93b21c7894332c4b4b98cab7e5 (patch)
tree3cff5ebfdd369a85cc8ccb8dc6b816ca0ca046a4 /db/imapper.php
parent24aa2e62fd084b3a2efa6cb6a23456001b7b2f50 (diff)
fix type issues with mappers
Diffstat (limited to 'db/imapper.php')
-rw-r--r--db/imapper.php35
1 files changed, 0 insertions, 35 deletions
diff --git a/db/imapper.php b/db/imapper.php
deleted file mode 100644
index 18a924e24..000000000
--- a/db/imapper.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * ownCloud - News
- *
- * This file is licensed under the Affero General Public License version 3 or
- * later. See the COPYING file.
- *
- * @author Alessandro Cosentino <cosenal@gmail.com>
- * @author Bernhard Posselt <dev@bernhard-posselt.com>
- * @copyright Alessandro Cosentino 2012
- * @copyright Bernhard Posselt 2012, 2014
- */
-
-namespace OCA\News\Db;
-
-use \OCP\AppFramework\Db\Entity;
-
-interface IMapper {
-
- /**
- * @param int $id the id of the feed
- * @param string $userId the id of the user
- * @return \OCP\AppFramework\Db\Entity
- */
- public function find($id, $userId);
-
- /**
- * Delete an entity
- * @param Entity $entity the entity that should be deleted
- * @throws \OCP\AppFramework\Db\DoesNotExistException if the entity does
- * not exist, or there
- * are more than one of it
- */
- public function delete(Entity $entity);
-} \ No newline at end of file