]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget/CalendarExport.php
Add support for legacy $lang config in App->loadConfig
[friendica.git] / 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).