moving a lot of structure around. 'entity' is now 'channel'

This commit is contained in:
friendica
2012-09-25 17:57:20 -07:00
parent dd5725c272
commit fbafd92f7f
28 changed files with 307 additions and 300 deletions

View File

@@ -6,8 +6,10 @@ function home_init(&$a) {
$ret = array();
call_hooks('home_init',$ret);
if(local_user() && ($a->identity['entity_address']))
goaway( $a->get_baseurl() . '/profile/' . $a->identity['entity_address']);
$channel = $a->get_channel();
if(local_user() && $channel && $channel['channel_address']))
goaway( $a->get_baseurl() . '/profile/' . $channel['channel_address']);
}}