Restore previous permission comment in Widget\CalendarExport
This commit is contained in:
parent
d36bc29ce9
commit
c5cd569447
|
@ -36,6 +36,10 @@ class CalendarExport
|
|||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* If it's a kind of profile page (intval($owner_uid)) return if the user not logged in and
|
||||
* export feature isn't enabled.
|
||||
*/
|
||||
/*
|
||||
* Cal logged in user (test permission at foreign profile page).
|
||||
* If the $owner uid is available we know it is part of one of the profile pages (like /cal).
|
||||
|
|
Loading…
Reference in a new issue