Changeset 1139

Show
Ignore:
Timestamp:
06/10/2008 01:46:13 AM (2 years ago)
Author:
DotMG
Message:

refs #575

Porting a little part of [822], which seems to be forgotten, to trunk.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/setup/install.php

    r1099 r1139  
    339339        test(__('Adding field to users table to specify comment display default').'...',  
    340340        @mysql_query("alter table ".$config["table_prefix"]."users add default_comment_display int(10) unsigned NOT NULL default '1'", $dblink), __('Already done?  OK!'), 0); 
     341        test(__('Adding status field to users table...', 
     342        mysql_query('alter table '.$config['table_prefix'].'users add column status enum ("invited","signed-up","pending","active","suspended","banned","deleted")'), __('Already done? OK!'), 0);  
    341343        // Create new fields for comment_read_acl and comment_post_acl, 
    342344        // and copy existing comment_acl values to these new fields