diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-04-26 12:48:19 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-05-11 13:36:46 +0200 |
commit | 8d4850218740b74faae5af637d1b1c2b3dee3c41 (patch) | |
tree | a54f2a3efc72f58fea3909a017211ac26027fbf2 /lib/private/Authentication/Token/DefaultToken.php | |
parent | 53636c73d649514fbbfeba4741f39be1725e47fd (diff) | |
download | nextcloud-server-8d4850218740b74faae5af637d1b1c2b3dee3c41.tar.gz nextcloud-server-8d4850218740b74faae5af637d1b1c2b3dee3c41.zip |
Add index on 'last_activity'
add token type column and delete only temporary tokens in the background job
debounce token updates; fix wrong class import
Diffstat (limited to 'lib/private/Authentication/Token/DefaultToken.php')
-rw-r--r-- | lib/private/Authentication/Token/DefaultToken.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/Authentication/Token/DefaultToken.php b/lib/private/Authentication/Token/DefaultToken.php index 6b859d7d063..78b5c2d6116 100644 --- a/lib/private/Authentication/Token/DefaultToken.php +++ b/lib/private/Authentication/Token/DefaultToken.php @@ -49,6 +49,11 @@ class DefaultToken extends Entity implements IToken { /** * @var int */ + protected $type; + + /** + * @var int + */ protected $lastActivity; public function getId() { |