diff options
author | dartcafe <github@dartcafe.de> | 2020-11-01 12:30:47 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-11-01 12:30:47 +0300 |
commit | 3be3ca382e41d0d52cc4e79d6584030e5f94e1e8 (patch) | |
tree | bc73c49c1b31886d7baf039eb17b0a5d7705a1fc /lib/Model/Contact.php | |
parent | 188061b8554aa011dae5a806fb05334cdd28a219 (diff) |
fix public vote
Diffstat (limited to 'lib/Model/Contact.php')
-rw-r--r-- | lib/Model/Contact.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Model/Contact.php b/lib/Model/Contact.php index 7c177db1..d718595c 100644 --- a/lib/Model/Contact.php +++ b/lib/Model/Contact.php @@ -47,6 +47,17 @@ class Contact extends UserGroupClass { } /** + * getPublicId + * must use displayName for contact's user id, because contact id + * is not accessable outside the owners's scope + * @NoAdminRequired + * @return String + */ + public function getPublicId() { + return $this->displayName; + } + + /** * isEnabled * @NoAdminRequired * @return Boolean |