]> git.mxchange.org Git - friendica.git/commitdiff
Restore previous permission comment in Widget\CalendarExport
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 18 Mar 2018 05:32:43 +0000 (01:32 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 23 Mar 2018 10:34:21 +0000 (06:34 -0400)
src/Content/Widget/CalendarExport.php

index 2129cd515c3cddc88eb6d43bfe9f1e0aebb8aa8a..0e85e16c466f6d5cdb073dff04387ee237c61297 100644 (file)
@@ -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).