diff options
author | splitt3r <splitt3r@users.noreply.github.com> | 2017-11-09 15:42:53 +0300 |
---|---|---|
committer | splitt3r <splitt3r@users.noreply.github.com> | 2017-11-09 15:42:53 +0300 |
commit | 8caf86af5b6783f4b1064d5bf2835e1bc265e308 (patch) | |
tree | e09891a4cc83974e0ef5809c94868550fc1ad742 /templates | |
parent | 654da24f13a8ba55f493b9f9665012f44b8a753a (diff) |
Optimized imports + type hints
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.tmpl.php | 2 |
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; } |