Merge branch 'master' into testing

This commit is contained in:
Brion Vibber 2010-02-26 09:35:08 -08:00
commit b331e971b0
3 changed files with 5 additions and 2 deletions

View File

@ -286,7 +286,7 @@ class EditgroupAction extends GroupDesignAction
$group = Local_group::staticGet('nickname', $nickname);
if (!empty($group) &&
$group->id != $this->group->id) {
$group->group_id != $this->group->id) {
return true;
}

View File

@ -55,6 +55,7 @@ modified = 384
[conversation__keys]
id = N
uri = U
[deleted_notice]
id = 129
@ -102,6 +103,7 @@ modified = 384
[file__keys]
id = N
url = U
[file_oembed]
file_id = 129
@ -385,6 +387,7 @@ modified = 384
[oauth_application__keys]
id = N
name = U
[oauth_application_user]
profile_id = 129

View File

@ -1248,7 +1248,7 @@ class ApiAction extends Action
if (empty($local)) {
return null;
} else {
return User_group::staticGet('id', $local->id);
return User_group::staticGet('id', $local->group_id);
}
}
}