summaryrefslogtreecommitdiff
path: root/modules/profile/profile.pages.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-08 14:06:23 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-08 14:06:23 +0000
commit5622bce2d52904922a7fd450088bcaed417af7fd (patch)
tree2999f99426795c0e105dd988241278ac2e66c340 /modules/profile/profile.pages.inc
parentaaaf8f572d1b7a5cb0d0e5b68a5f788adee222b2 (diff)
downloadbrdo-5622bce2d52904922a7fd450088bcaed417af7fd.tar.gz
brdo-5622bce2d52904922a7fd450088bcaed417af7fd.tar.bz2
#198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines - indentation - control structure usage - whitespace in empty lines - phpdoc comment formatting
Diffstat (limited to 'modules/profile/profile.pages.inc')
-rw-r--r--modules/profile/profile.pages.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc
index cb60b5253..ef1392343 100644
--- a/modules/profile/profile.pages.inc
+++ b/modules/profile/profile.pages.inc
@@ -23,8 +23,8 @@ function profile_browse() {
}
// Do not allow browsing of private and hidden fields by non-admins.
if (!user_access('administer users') && ($field->visibility == PROFILE_PRIVATE || $field->visibility == PROFILE_HIDDEN)) {
- drupal_access_denied();
- return;
+ drupal_access_denied();
+ return;
}
// Compile a list of fields to show.