summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-07-21 10:38:28 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-07-21 10:38:28 +0000
commite97ddbeabb8c5aa19d853908797d43ec9b8c8317 (patch)
tree5d458209e6ad74230bde0f1d8f8b044c46d55640
parent5b8f0d34ed0fa4086dc91f24d41a4373ed5a7a39 (diff)
Activate Kitten's Spaminator by default.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@61 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r--wp-inst/wp-includes/wpmu-functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/wp-inst/wp-includes/wpmu-functions.php b/wp-inst/wp-includes/wpmu-functions.php
index 2d1ebee..2163cca 100644
--- a/wp-inst/wp-includes/wpmu-functions.php
+++ b/wp-inst/wp-includes/wpmu-functions.php
@@ -574,6 +574,9 @@ function createBlog( $domain, $path, $username, $weblog_title, $admin_email, $si
$wpdb->query( "DELETE FROM ".$wpdb->usermeta." WHERE user_id != '".$userID."' AND meta_key = '".$table_prefix."user_level'" );
$wpdb->query( "DELETE FROM ".$wpdb->usermeta." WHERE user_id != '".$userID."' AND meta_key = '".$table_prefix."capabilities'" );
+ // activate kitten's spaminator
+ update_option( 'active_plugins', array( 'kittens-spaminator.php' ) );
+
// restore wpdb variables
reset( $tmp );
while( list( $key, $val ) = each( $tmp ) )