diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-04-07 21:09:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 21:09:21 +0300 |
commit | 27c3f161f5469bf326c30f55b421e4d80b1e495d (patch) | |
tree | 976fd4043d4841656dfe2db608ad5fb778827196 /lib/Db | |
parent | 9691def7bc669825a721e4e6aa42324693f8aae0 (diff) | |
parent | ae7fc42fe217f0671877e1c0fe18e0de39bdc118 (diff) |
Merge pull request #761 from nextcloud/enh/session_memcachev19.0.0beta2
Cache the session info in memcache
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/Session.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Db/Session.php b/lib/Db/Session.php index 9f5e17161..e13d95e90 100644 --- a/lib/Db/Session.php +++ b/lib/Db/Session.php @@ -30,6 +30,7 @@ use OCP\AppFramework\Db\Entity; * @method setLastContact(int $getTime) * @method getDocumentId() * @method getUserId() + * @method string getToken() */ class Session extends Entity implements \JsonSerializable { @@ -55,7 +56,8 @@ class Session extends Entity implements \JsonSerializable { 'token' => $this->token, 'color' => $this->color, 'lastContact' => $this->lastContact, - 'guestName' => $this->guestName + 'guestName' => $this->guestName, + 'documentId' => $this->documentId, ]; } } |