App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
parent
3c24bed412
commit
5adfeb0bd5
134 changed files with 603 additions and 624 deletions
|
|
@ -31,12 +31,12 @@ function group_post(App $a) {
|
|||
info(t('Group created.') . EOL);
|
||||
$r = group_byname(local_user(), $name);
|
||||
if ($r) {
|
||||
goaway(App::get_baseurl() . '/group/' . $r);
|
||||
goaway(System::baseUrl() . '/group/' . $r);
|
||||
}
|
||||
} else {
|
||||
notice(t('Could not create group.') . EOL);
|
||||
}
|
||||
goaway(App::get_baseurl() . '/group');
|
||||
goaway(System::baseUrl() . '/group');
|
||||
return; // NOTREACHED
|
||||
}
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ function group_post(App $a) {
|
|||
);
|
||||
if (! dbm::is_result($r)) {
|
||||
notice(t('Group not found.') . EOL);
|
||||
goaway(App::get_baseurl() . '/contacts');
|
||||
goaway(System::baseUrl() . '/contacts');
|
||||
return; // NOTREACHED
|
||||
}
|
||||
$group = $r[0];
|
||||
|
|
@ -127,7 +127,7 @@ function group_content(App $a) {
|
|||
notice(t('Unable to remove group.') . EOL);
|
||||
}
|
||||
}
|
||||
goaway(App::get_baseurl() . '/group');
|
||||
goaway(System::baseUrl() . '/group');
|
||||
// NOTREACHED
|
||||
}
|
||||
|
||||
|
|
@ -154,7 +154,7 @@ function group_content(App $a) {
|
|||
|
||||
if (! dbm::is_result($r)) {
|
||||
notice(t('Group not found.') . EOL);
|
||||
goaway(App::get_baseurl() . '/contacts');
|
||||
goaway(System::baseUrl() . '/contacts');
|
||||
}
|
||||
|
||||
$group = $r[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue