slight optimisation
This commit is contained in:
		| @@ -8,8 +8,8 @@ function home_init(&$a) { | ||||
|  | ||||
| 	$channel = $a->get_channel(); | ||||
|  | ||||
| 	if(local_user() && $channel && $channel['channel_address']) | ||||
| 		goaway( $a->get_baseurl() . '/profile/' . $channel['channel_address']); | ||||
| 	if(local_user() && $channel && $channel['channel_profile']) | ||||
| 		goaway( $channel['channel_profile']); | ||||
|  | ||||
| }} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user