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:
Diffstat (limited to 'lib/Db/Vote.php')
-rw-r--r--lib/Db/Vote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/Vote.php b/lib/Db/Vote.php
index 85b63c09..b304c149 100644
--- a/lib/Db/Vote.php
+++ b/lib/Db/Vote.php
@@ -71,7 +71,7 @@ class Vote extends Entity implements JsonSerializable {
];
}
- private function getDisplayName() {
+ public function getDisplayName() {
if (\OC::$server->getUserManager()->get($this->userId) instanceof IUser) {
return \OC::$server->getUserManager()->get($this->userId)->getDisplayName();
} else {