summaryrefslogtreecommitdiffstats
path: root/wp-includes/wpmu-functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-10-08 13:15:02 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-10-08 13:15:02 +0000
commitdf0291bf93ac47a18e7cec154ff68f1410e94ab8 (patch)
tree39af82e8b4e137d76d349475f375e3024a7c2570 /wp-includes/wpmu-functions.php
parent5e8d0094b69f1b2fd02798e8acff5a0db8b23139 (diff)
downloadwordpress-mu-df0291bf93ac47a18e7cec154ff68f1410e94ab8.tar.gz
wordpress-mu-df0291bf93ac47a18e7cec154ff68f1410e94ab8.tar.xz
wordpress-mu-df0291bf93ac47a18e7cec154ff68f1410e94ab8.zip
Minor whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1503 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/wpmu-functions.php')
-rw-r--r--wp-includes/wpmu-functions.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php
index ba7017b..ff004b8 100644
--- a/wp-includes/wpmu-functions.php
+++ b/wp-includes/wpmu-functions.php
@@ -16,7 +16,7 @@ function load_muplugin_textdomain($domain, $path = false) {
function wpmu_update_blogs_date() {
global $wpdb;
-
+
$wpdb->update( $wpdb->blogs, array('last_updated' => current_time('mysql')), array('blog_id' => $wpdb->blogid) );
refresh_blog_details( $wpdb->blogid );
@@ -460,7 +460,7 @@ function get_active_blog_for_user( $user_id ) { // get an active blog for user -
}
}
-function is_user_member_of_blog( $user_id, $blog_id = 0 ) {
+function is_user_member_of_blog( $user_id, $blog_id = 0 ) {
$user_id = (int) $user_id;
$blog_id = (int) $blog_id;
@@ -1168,7 +1168,7 @@ function wpmu_create_user( $user_name, $password, $email) {
return false;
$user_id = wp_create_user( $user_name, $password, $email );
- $user = new WP_User($user_id);
+ $user = new WP_User($user_id);
// Newly created users have no roles or caps until they are added to a blog.
update_usermeta($user_id, 'capabilities', '');
@@ -1787,7 +1787,7 @@ function global_terms( $term_id, $deprecated = '' ) {
if( get_option( 'default_category' ) == $term_id )
update_option( 'default_category', $global_id );
-
+
$wpdb->update( $wpdb->terms, array('term_id' => $global_id), array('term_id' => $term_id) );
$wpdb->update( $wpdb->term_taxonomy, array('term_id' => $global_id), array('term_id' => $term_id) );
$wpdb->update( $wpdb->term_taxonomy, array('parent' => $global_id), array('parent' => $term_id) );