From ebfa1a12b9cc3d939ed49a7f66e5687267a409d3 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 25 Feb 2016 00:36:35 -0800 Subject: 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. --- mod/cal.php | 2 +- mod/events.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') 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'; diff --git a/mod/events.php b/mod/events.php index be39902aa..8e3b3e06b 100755 --- a/mod/events.php +++ b/mod/events.php @@ -299,7 +299,7 @@ function events_content(&$a) { $ignored = ((x($_REQUEST,'ignored')) ? " and ignored = " . intval($_REQUEST['ignored']) . " " : ''); -logger('args: ' . print_r($a->argv,true)); + // logger('args: ' . print_r($a->argv,true)); -- cgit v1.2.3