Continued with coding convention:

- added curly braces around conditional code blocks
- added space between if/foreach/... and brace
- made some SQL keywords upper-cased and added back-ticks to columns/table names

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Haeder 2016-12-20 21:31:05 +01:00
parent 04d90d9780
commit 536f078ed4
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
9 changed files with 78 additions and 56 deletions

View file

@ -627,7 +627,7 @@ function settings_post(App &$a) {
);
}
if(($old_visibility != $net_publish) || ($page_flags != $old_page_flags)) {
if (($old_visibility != $net_publish) || ($page_flags != $old_page_flags)) {
// Update global directory in background
$url = $_SESSION['my_url'];
if ($url && strlen(get_config('system','directory'))) {
@ -642,10 +642,10 @@ function settings_post(App &$a) {
update_gcontact_for_user(local_user());
//$_SESSION['theme'] = $theme;
if($email_changed && $a->config['register_policy'] == REGISTER_VERIFY) {
if ($email_changed && $a->config['register_policy'] == REGISTER_VERIFY) {
// FIXME - set to un-verified, blocked and redirect to logout
// Why? Are we verifying people or email addresses?
/// @TODO set to un-verified, blocked and redirect to logout
/// @TODO Why? Are we verifying people or email addresses?
}