Several performance improvements

This commit is contained in:
Michael Vogel
2016-01-15 23:27:25 +01:00
parent 471963a142
commit 90a8d6f0f5
12 changed files with 236 additions and 117 deletions

View File

@@ -14,6 +14,10 @@ function community_content(&$a, $update = 0) {
$o = '';
// Currently the community page isn't able to handle update requests
if ($update)
return;
if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
notice( t('Public access denied.') . EOL);
return;