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:
authorMaxime Corteel <mcorteel@gmail.com>2016-04-24 20:30:49 +0300
committerMaxime Corteel <mcorteel@gmail.com>2016-04-24 20:30:49 +0300
commit518c9efe7e817117cd7c07bc3457dac902a48365 (patch)
tree88ed13d1a0a236e39c4969a5acf0187c2917b9e8 /db
parentd2f7bae5c60afd4aedf57a9aeefd4b1d600f7d15 (diff)
parent0ebc95bd6edc598bc8bd71b07c2f61bee56b25de (diff)
Merge remote-tracking branch 'origin/master' into design_changes
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 056f07a7..6578fe17 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]);
}
}