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:
authorsplitt3r <splitt3r@users.noreply.github.com>2017-11-09 15:42:53 +0300
committersplitt3r <splitt3r@users.noreply.github.com>2017-11-09 15:42:53 +0300
commit8caf86af5b6783f4b1064d5bf2835e1bc265e308 (patch)
treee09891a4cc83974e0ef5809c94868550fc1ad742 /templates
parent654da24f13a8ba55f493b9f9665012f44b8a753a (diff)
Optimized imports + type hints
Diffstat (limited to 'templates')
-rw-r--r--templates/main.tmpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/main.tmpl.php b/templates/main.tmpl.php
index 19d38b04..9f1d2ee4 100644
--- a/templates/main.tmpl.php
+++ b/templates/main.tmpl.php
@@ -234,7 +234,7 @@ function getGroups($userId) {
* @param string $userId
* @return boolean
*/
-function userHasAccess($poll, $userId) {
+function userHasAccess(OCA\Polls\Db\Event $poll, $userId) {
if ($poll === null) {
return false;
}