mirror of
https://github.com/friendica/friendica
synced 2025-05-08 21:04:10 +02:00
Move mod/cal.php and mod/events.php to Module
This commit is contained in:
parent
89fde911f9
commit
f13c91b320
41 changed files with 1054 additions and 1109 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue