forked from GNUsocial/gnu-social
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
This commit is contained in:
commit
88ae7f53bb
|
@ -125,14 +125,6 @@ class ShowgroupAction extends GroupDesignAction
|
||||||
$local = Local_group::staticGet('nickname', $nickname);
|
$local = Local_group::staticGet('nickname', $nickname);
|
||||||
|
|
||||||
if (!$local) {
|
if (!$local) {
|
||||||
common_log(LOG_NOTICE, "Couldn't find local group for nickname '$nickname'");
|
|
||||||
$this->clientError(_('No such group.'), 404);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->group = User_group::staticGet('id', $local->group_id);
|
|
||||||
|
|
||||||
if (!$this->group) {
|
|
||||||
$alias = Group_alias::staticGet('alias', $nickname);
|
$alias = Group_alias::staticGet('alias', $nickname);
|
||||||
if ($alias) {
|
if ($alias) {
|
||||||
$args = array('id' => $alias->group_id);
|
$args = array('id' => $alias->group_id);
|
||||||
|
@ -142,11 +134,19 @@ class ShowgroupAction extends GroupDesignAction
|
||||||
common_redirect(common_local_url('groupbyid', $args), 301);
|
common_redirect(common_local_url('groupbyid', $args), 301);
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
|
common_log(LOG_NOTICE, "Couldn't find local group for nickname '$nickname'");
|
||||||
$this->clientError(_('No such group.'), 404);
|
$this->clientError(_('No such group.'), 404);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->group = User_group::staticGet('id', $local->group_id);
|
||||||
|
|
||||||
|
if (!$this->group) {
|
||||||
|
$this->clientError(_('No such group.'), 404);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
common_set_returnto($this->selfUrl());
|
common_set_returnto($this->selfUrl());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -5341,7 +5341,7 @@ msgstr ""
|
||||||
"%7$s.\n"
|
"%7$s.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"----\n"
|
"----\n"
|
||||||
"మీ ఈమెయిలు చిరునామాని లేదా గమనింపుల ఎంపికలను %8$s వద్ద మార్చుకోండి"
|
"మీ ఈమెయిలు చిరునామాని లేదా గమనింపుల ఎంపికలను %8$s వద్ద మార్చుకోండి\n"
|
||||||
|
|
||||||
#: lib/mail.php:258
|
#: lib/mail.php:258
|
||||||
#, php-format
|
#, php-format
|
||||||
|
|
Loading…
Reference in New Issue