Changeset 1562 for trunk/bb-includes/pluggable.php
- Timestamp:
- 06/21/2008 05:10:20 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/pluggable.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/pluggable.php
r1504 r1562 50 50 //This is only used at initialization. Use bb_get_current_user_info() (or $bb_current_user global if really needed) to grab user info. 51 51 function bb_current_user() { 52 if ( defined( 'BB_INSTALLING' ))52 if (BB_INSTALLING) 53 53 return false; 54 54 … … 243 243 $salt = BB_SECRET_SALT; 244 244 } else { 245 if (! defined('BB_INSTALLING')) {245 if (!BB_INSTALLING) { 246 246 $salt = bb_get_option('secret'); 247 247 if ( empty($salt) ) { … … 382 382 return false; 383 383 384 if ( defined( 'BB_INSTALLING' )) {384 if (BB_INSTALLING) { 385 385 bb_update_usermeta( $user['ID'], $bbdb->prefix . 'capabilities', array('keymaster' => true) ); 386 386 } else {
Note: See TracChangeset
for help on using the changeset viewer.