function settings_init(App &$a) {
- if(! local_user()) {
+ if (! local_user()) {
notice( t('Permission denied.') . EOL );
return;
}
function settings_post(App &$a) {
- if(! local_user())
+ if (! local_user()) {
return;
+ }
if (x($_SESSION,'submanage') && intval($_SESSION['submanage'])) {
return;
$o = '';
nav_set_selected('settings');
- if(! local_user()) {
+ if (! local_user()) {
#notice( t('Permission denied.') . EOL );
return;
}