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
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-08-28 08:49:18 +0300
committerdartcafe <github@dartcafe.de>2020-08-28 08:49:18 +0300
commite2688ab4b086812ac0086b7c25df9fdb15094e8a (patch)
tree02babe99ae7813c3aa95b0af7ce56d478e920632
parent202fdc9380e159770d7a5ef49e2fefb45ecbc532 (diff)
NC 20 compatibility and fix
-rw-r--r--appinfo/info.xml2
-rw-r--r--lib/Controller/OptionController.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 8d06bfd2..760f493a 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -23,7 +23,7 @@
<screenshot>https://raw.githubusercontent.com/nextcloud/polls/master/screenshots/vote.png</screenshot>
<screenshot>https://raw.githubusercontent.com/nextcloud/polls/master/screenshots/edit-poll.png</screenshot>
<dependencies>
- <nextcloud min-version="17" max-version="19" />
+ <nextcloud min-version="17" max-version="20" />
</dependencies>
<background-jobs>
<job>OCA\Polls\Cron\NotificationCron</job>
diff --git a/lib/Controller/OptionController.php b/lib/Controller/OptionController.php
index 545beb79..23eef822 100644
--- a/lib/Controller/OptionController.php
+++ b/lib/Controller/OptionController.php
@@ -141,6 +141,7 @@ class OptionController extends Controller {
return new DataResponse(['options' => $this->optionService->sequence($optionId, $step, $unit, $amount)], Http::STATUS_OK);
}
+ /**
* findCalendarEvents
* @NoAdminRequired
* @param integer $from