Rename to RelationalEntity to avoid naming collission

This commit is contained in:
Julius Haertl
2017-01-31 13:43:35 +01:00
parent b0dd73b811
commit 6dc6f924cf
9 changed files with 11 additions and 10 deletions

View File

@@ -23,6 +23,7 @@
namespace OCA\Deck\Db;
use OCP\AppFramework\Db\Entity;
use OCP\IDBConnection;
@@ -53,7 +54,7 @@ class StackMapper extends DeckMapper implements IPermissionMapper {
}
public function delete(\OCP\AppFramework\Db\Entity $entity) {
public function delete(Entity $entity) {
// delete cards on stack
$this->cardMapper->deleteByStack($entity->getId());
return parent::delete($entity);