1
0
Fork 0

App::get_baseurl is now replaced with System::baseUrl

This commit is contained in:
Michael 2017-08-26 07:32:10 +00:00
commit 5adfeb0bd5
134 changed files with 603 additions and 624 deletions

View file

@ -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];