Don't allow access if user has already taken part
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
2e3be4d460
commit
c03647a1c4
5 changed files with 97 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ use OCP\AppFramework\Db\Entity;
|
|||
* @method void setHash(string $value)
|
||||
* @method integer getIsAnonymous()
|
||||
* @method void setIsAnonymous(integer $value)
|
||||
* @method integer getUnique()
|
||||
* @method void setUnique(boolean $value)
|
||||
*/
|
||||
class Event extends Entity {
|
||||
protected $title;
|
||||
|
|
@ -57,6 +59,7 @@ class Event extends Entity {
|
|||
protected $isAnonymous;
|
||||
protected $fullAnonymous;
|
||||
protected $allowMaybe;
|
||||
protected $unique;
|
||||
|
||||
/**
|
||||
* Event constructor.
|
||||
|
|
@ -91,6 +94,7 @@ class Event extends Entity {
|
|||
'expired' => $expired,
|
||||
'expirationDate' => $this->getExpire(),
|
||||
'isAnonymous' => $this->getIsAnonymous(),
|
||||
'unique' => $this->getUnique()
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue