aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Controller
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-07-12 12:11:11 +0200
committerJoas Schilling <coding@schilljs.com>2018-07-12 12:11:11 +0200
commitdaed1bed57811b677073f4678ef35ea86c8e7a1d (patch)
tree856b682c57b797c7d9a35571aba39b73dd5b0d90 /apps/dav/lib/Controller
parentb7de6d7a24f76c91dffe1644c4b24e0a27b43c14 (diff)
downloadnextcloud-server-daed1bed57811b677073f4678ef35ea86c8e7a1d.tar.gz
nextcloud-server-daed1bed57811b677073f4678ef35ea86c8e7a1d.zip
Also shorten the name of the invitation tokens
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/lib/Controller')
-rw-r--r--apps/dav/lib/Controller/InvitationResponseController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Controller/InvitationResponseController.php b/apps/dav/lib/Controller/InvitationResponseController.php
index 08298a29f0f..e3bdab90aaf 100644
--- a/apps/dav/lib/Controller/InvitationResponseController.php
+++ b/apps/dav/lib/Controller/InvitationResponseController.php
@@ -162,7 +162,7 @@ class InvitationResponseController extends Controller {
private function getTokenInformation(string $token) {
$query = $this->db->getQueryBuilder();
$query->select('*')
- ->from('calendar_invitation_tokens')
+ ->from('calendar_invitations')
->where($query->expr()->eq('token', $query->createNamedParameter($token)));
$stmt = $query->execute();
$row = $stmt->fetch(\PDO::FETCH_ASSOC);