From 8342e1f99a7a6f845a58d73114262af6f0fd99b6 Mon Sep 17 00:00:00 2001 From: Julius Haertl Date: Sun, 5 Feb 2017 22:53:28 +0100 Subject: [PATCH] Remove debug logging and unused function --- lib/Db/DeckMapper.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/Db/DeckMapper.php b/lib/Db/DeckMapper.php index 663a9e17a..fcda3fa77 100644 --- a/lib/Db/DeckMapper.php +++ b/lib/Db/DeckMapper.php @@ -36,24 +36,7 @@ abstract class DeckMapper extends Mapper { return $this->findEntity($sql, [$id]); } - /** - * Add relational data to an Entity by calling the related Mapper - * @param $entities - * @param $entityType - * @param $property - * addRelation($cards, $labels, function($one, $many) { - * if($one->id == $many->cardId) - * } - */ - public function addRelation($entities, $entityType, $property) { - - } - protected function execute($sql, array $params = [], $limit = null, $offset = null) { - // FIXME: remove on release - /** @noinspection PhpUnnecessaryFullyQualifiedNameInspection */ - /** @noinspection PhpUnnecessaryFullyQualifiedNameInspection */ - \OCP\Util::writeLog('deck', "DeckMapper SQL: " . $sql . " with " . implode("|", $params), \OCP\Util::DEBUG); return parent::execute($sql, $params, $limit, $offset); }