Restore previous permission comment in Widget\CalendarExport

This commit is contained in:
Hypolite Petovan 2018-03-18 01:32:43 -04:00
parent d36bc29ce9
commit c5cd569447

View file

@ -36,6 +36,10 @@ class CalendarExport
return; 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). * 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). * If the $owner uid is available we know it is part of one of the profile pages (like /cal).