diff options
author | redmatrix <git@macgirvin.com> | 2016-04-10 16:56:08 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-04-10 16:56:08 -0700 |
commit | abfbe9c9375c7505e0422b8adc1d9d5426d7df1a (patch) | |
tree | 5fdc9b9b7edbc4f73fd36cfde9d905e335089cb9 /mod/cal.php | |
parent | c0bdcfedeb8c5b8753587ac77d5b90d48698ec66 (diff) | |
download | volse-hubzilla-abfbe9c9375c7505e0422b8adc1d9d5426d7df1a.tar.gz volse-hubzilla-abfbe9c9375c7505e0422b8adc1d9d5426d7df1a.tar.bz2 volse-hubzilla-abfbe9c9375c7505e0422b8adc1d9d5426d7df1a.zip |
a few issues: block public not blocking mod_cal, typo in sql for one clone file sync operation, fix_system_urls not catching cached contact photos, extend sessionhandler expiration when remember_me is enabled as the stored session is expiring long before the browser session.
Diffstat (limited to 'mod/cal.php')
-rwxr-xr-x | mod/cal.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/cal.php b/mod/cal.php index b58f3a1f1..56d65d3f2 100755 --- a/mod/cal.php +++ b/mod/cal.php @@ -45,6 +45,11 @@ function cal_init(&$a) { function cal_content(&$a) { + if((get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) { + return; + } + + $channel = null; if(argc() > 1) { |