Fix checkAccess-query in models CPublic.php and Group.php.
Update Friend::getFriend($user) method.
Fix cli-mode (yiic).
Update accessrights.php.
Update user/index.php template.
Update User.php model.
Update user/index.php template.