aboutsummaryrefslogtreecommitdiffstats
path: root/mod
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
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')
-rwxr-xr-xmod/cal.php2
-rwxr-xr-xmod/events.php2
2 files changed, 2 insertions, 2 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';
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));