minor change to test something
This commit is contained in:
parent
620082c16b
commit
5e6f6e2c3e
4
boot.php
4
boot.php
@ -2493,8 +2493,8 @@ function check_cron_broken() {
|
|||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function observer_prohibited($allow_account = false) {
|
function observer_prohibited($allow_account = false) {
|
||||||
if($allow_account)
|
if($allow_account) {
|
||||||
return (((get_config('system', 'block_public')) && (! get_account_id()) && (! remote_channel())) ? true : false );
|
return (((get_config('system', 'block_public')) && (! get_account_id()) && (! remote_channel())) ? true : false );
|
||||||
|
}
|
||||||
return (((get_config('system', 'block_public')) && (! local_channel()) && (! remote_channel())) ? true : false );
|
return (((get_config('system', 'block_public')) && (! local_channel()) && (! remote_channel())) ? true : false );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user