Move mod/cal.php and mod/events.php to Module

This commit is contained in:
Philipp 2022-11-06 02:35:09 +01:00
parent 89fde911f9
commit f13c91b320
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
41 changed files with 1054 additions and 1109 deletions

View file

@ -82,9 +82,9 @@ class Export extends BaseModule
// If it is the own calendar return to the events page
// otherwise to the profile calendar page
if ($this->session->getLocalUserId() === $ownerUid) {
$returnPath = 'events';
$returnPath = 'calendar';
} else {
$returnPath = 'events/' . $this->parameters['nickname'];
$returnPath = 'calendar/show/' . $this->parameters['nickname'];
}
$this->baseUrl->redirect($returnPath);