aboutsummaryrefslogtreecommitdiffstats
path: root/mod/cal.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-25 00:36:35 -0800
committerredmatrix <git@macgirvin.com>2016-02-25 00:36:35 -0800
commitebfa1a12b9cc3d939ed49a7f66e5687267a409d3 (patch)
tree037b47bc72ae0f4b6b195266da39bb1870481cfd /mod/cal.php
parent43521bb10b71752b5b3fd953056966ba30df50b6 (diff)
downloadvolse-hubzilla-ebfa1a12b9cc3d939ed49a7f66e5687267a409d3.tar.gz
volse-hubzilla-ebfa1a12b9cc3d939ed49a7f66e5687267a409d3.tar.bz2
volse-hubzilla-ebfa1a12b9cc3d939ed49a7f66e5687267a409d3.zip
when creating an event from a post in our stream, if the original post was private, set the event permissions to "just me". If it was a public event, set the event permissions to the channel default permissions.
Diffstat (limited to 'mod/cal.php')
-rwxr-xr-xmod/cal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/cal.php b/mod/cal.php
index 9899b33b0..1e2405cd0 100755
--- a/mod/cal.php
+++ b/mod/cal.php
@@ -85,7 +85,7 @@ function cal_content(&$a) {
$m = 0;
$ignored = ((x($_REQUEST,'ignored')) ? " and ignored = " . intval($_REQUEST['ignored']) . " " : '');
-logger('args: ' . print_r($a->argv,true));
+ // logger('args: ' . print_r($a->argv,true));
if(argc() > 3 && intval(argv(2)) && intval(argv(3))) {
$mode = 'view';