summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-10-16 10:02:56 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-10-16 10:02:56 +0000
commitc7eb05308e8be7639a2b48d1bb85864288dfda57 (patch)
treee6851d14be0981ca982842123c7e279289c16e82 /auth
parent4d8106a25bf035b8ddda2933568ac3ed866eddf4 (diff)
downloadusers-c7eb05308e8be7639a2b48d1bb85864288dfda57.tar.gz
users-c7eb05308e8be7639a2b48d1bb85864288dfda57.tar.bz2
users-c7eb05308e8be7639a2b48d1bb85864288dfda57.zip
stick to coding guidelines
Diffstat (limited to 'auth')
-rw-r--r--auth/multisites/auth.php20
1 files changed, 13 insertions, 7 deletions
diff --git a/auth/multisites/auth.php b/auth/multisites/auth.php
index d2b3aa8..ab50b64 100644
--- a/auth/multisites/auth.php
+++ b/auth/multisites/auth.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/auth/multisites/auth.php,v 1.3 2008/10/16 09:57:58 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/auth/multisites/auth.php,v 1.4 2008/10/16 10:02:56 squareing Exp $
*
* @package users
*/
@@ -70,10 +70,10 @@ class MultisitesAuth extends BaseAuth {
if ( $id['multisite_id'] == $gMultisites->mMultisiteId ) {
$ret=USER_VALID;
}
- }
+ }
if ( $ret == PASSWORD_INCORRECT ) {
$this->mErrors[] = 'You are not authorized on this area of the site';
- }
+ }
}
} else {
$ret=PASSWORD_INCORRECT;
@@ -108,14 +108,20 @@ class MultisitesAuth extends BaseAuth {
function canManageAuth() {
global $gBitSystem;
- if( $gBitSystem->isPackageActive( 'multisites' ) ) { return true;
- } else { return false; }
+ if( $gBitSystem->isPackageActive( 'multisites' ) ) {
+ return TRUE;
+ } else {
+ return FALSE;
+ }
}
function isSupported() {
global $gBitSystem;
- if( $gBitSystem->isPackageActive( 'multisites' ) ) { return true;
- } else { return false; }
+ if( $gBitSystem->isPackageActive( 'multisites' ) ) {
+ return TRUE;
+ } else {
+ return FALSE;
+ }
}
function createUser( &$pUserHash ) {