diff options
author | dartcafe <github@dartcafe.de> | 2019-12-19 01:10:04 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2019-12-19 01:10:04 +0300 |
commit | b96f51be7eb2221320628ea32bbcf3bac3e59106 (patch) | |
tree | edf791f90f8a008d4aae8f5934d2ef45dd6dbe43 /lib/Db | |
parent | 48fff9c556f3ec3c3c4dd571068f22ad1b9aaa73 (diff) |
added bool expiration
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/Event.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Db/Event.php b/lib/Db/Event.php index d350cb07..efd02c62 100644 --- a/lib/Db/Event.php +++ b/lib/Db/Event.php @@ -44,6 +44,8 @@ use OCP\AppFramework\Db\Entity; * @method void setAccess(string $value) * @method string getExpire() * @method void setExpire(string $value) + * @method string getExpiration() + * @method void setExpiration(string $value) * @method integer getIsAnonymous() * @method void setIsAnonymous(integer $value) * @method integer getFullAnonymous() @@ -66,6 +68,7 @@ class Event extends Entity implements JsonSerializable { protected $owner; protected $created; protected $access; + protected $expiration; protected $expire; protected $isAnonymous; protected $fullAnonymous; @@ -86,6 +89,7 @@ class Event extends Entity implements JsonSerializable { 'created' => $this->created, 'access' => $this->access, 'expire' => $this->expire, + 'expiration' => $this->expiration, 'isAnonymous' => boolval($this->isAnonymous), 'fullAnonymous' => boolval($this->fullAnonymous), 'allowMaybe' => boolval($this->allowMaybe), |