Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorv1r0x <vinzenz.rosenkranz@gmail.com>2016-04-17 19:26:49 +0300
committerVinzenz Rosenkranz <vinzenz.rosenkranz@gmail.com>2016-04-18 19:23:49 +0300
commitf3e09eee44bdc9b7f30a8cd495a241d35ede7eb4 (patch)
tree417f3ffe4ba34745d0fd67647a5e7f190cc5e66e /db
parente21513138854cda204fc47296934886cca8eb247 (diff)
remove unused variables and old code
Diffstat (limited to 'db')
-rw-r--r--db/commentmapper.php2
-rw-r--r--db/participationmapper.php2
-rw-r--r--db/participationtextmapper.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/db/commentmapper.php b/db/commentmapper.php
index 94060dd8..4ef60763 100644
--- a/db/commentmapper.php
+++ b/db/commentmapper.php
@@ -74,6 +74,6 @@ class CommentMapper extends Mapper {
*/
public function deleteByPoll($pollId) {
$sql = 'DELETE FROM `*PREFIX*polls_comments` WHERE poll_id=?';
- $this->execute($sql, [$pollId], $limit, $offset);
+ $this->execute($sql, [$pollId]);
}
}
diff --git a/db/participationmapper.php b/db/participationmapper.php
index c9539174..f3247614 100644
--- a/db/participationmapper.php
+++ b/db/participationmapper.php
@@ -79,6 +79,6 @@ class ParticipationMapper extends Mapper {
*/
public function deleteByPoll($pollId) {
$sql = 'DELETE FROM `*PREFIX*polls_particip` WHERE poll_id=?';
- $this->execute($sql, [$pollId], $limit, $offset);
+ $this->execute($sql, [$pollId]);
}
}
diff --git a/db/participationtextmapper.php b/db/participationtextmapper.php
index 984b8f53..f9dcdd60 100644
--- a/db/participationtextmapper.php
+++ b/db/participationtextmapper.php
@@ -79,6 +79,6 @@ class ParticipationTextMapper extends Mapper {
*/
public function deleteByPoll($pollId) {
$sql = 'DELETE FROM `*PREFIX*polls_particip_text` WHERE poll_id=?';
- $this->execute($sql, [$pollId], $limit, $offset);
+ $this->execute($sql, [$pollId]);
}
}