*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
committed by
Roland Haeder
parent
97c507e763
commit
f8a213e23b
+2
-3
@@ -31,8 +31,7 @@ function group_post(App &$a) {
|
||||
if ($r) {
|
||||
goaway(App::get_baseurl() . '/group/' . $r);
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
notice( t('Could not create group.') . EOL );
|
||||
}
|
||||
goaway(App::get_baseurl() . '/group');
|
||||
@@ -92,7 +91,7 @@ function group_content(App &$a) {
|
||||
'$submit' => t('Save Group'),
|
||||
);
|
||||
|
||||
if(($a->argc == 2) && ($a->argv[1] === 'new')) {
|
||||
if (($a->argc == 2) && ($a->argv[1] === 'new')) {
|
||||
|
||||
return replace_macros($tpl, $context + array(
|
||||
'$title' => t('Create a group of contacts/friends.'),
|
||||
|
||||
Reference in New Issue
Block a user