https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' of https://github.com/friendica/friendica into develop
[friendica.git/.git]
/
src
/
Module
/
Calendar
/
Export.php
diff --git
a/src/Module/Calendar/Export.php
b/src/Module/Calendar/Export.php
index
1e1729f
..
0078b5e
100644
(file)
--- a/
src/Module/Calendar/Export.php
+++ b/
src/Module/Calendar/Export.php
@@
-78,7
+78,7
@@
class Export extends BaseModule
$this->baseUrl->redirect('profile/' . $nickname . '/restricted');
}
$this->baseUrl->redirect('profile/' . $nickname . '/restricted');
}
- if (!$this->session->isAuthenticated() && !Feature::isEnabled($owner['uid'],
'public_calendar'
)) {
+ if (!$this->session->isAuthenticated() && !Feature::isEnabled($owner['uid'],
Feature::PUBLIC_CALENDAR
)) {
$this->sysMessages->addNotice($this->t('Permission denied.'));
$this->baseUrl->redirect('profile/' . $nickname);
}
$this->sysMessages->addNotice($this->t('Permission denied.'));
$this->baseUrl->redirect('profile/' . $nickname);
}