diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-03-12 21:43:07 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-03-12 21:43:07 +0000 |
| commit | 15b2933fd9867d15bd81b3fd86487837d9e3c6fe (patch) | |
| tree | d50465f431f645d34dc19393e4467d18eb146311 /phpBB/install | |
| parent | 1b689a884d091c5750ac4bb1c4d82d28bbc0c1ae (diff) | |
| download | forums-15b2933fd9867d15bd81b3fd86487837d9e3c6fe.tar forums-15b2933fd9867d15bd81b3fd86487837d9e3c6fe.tar.gz forums-15b2933fd9867d15bd81b3fd86487837d9e3c6fe.tar.bz2 forums-15b2933fd9867d15bd81b3fd86487837d9e3c6fe.tar.xz forums-15b2933fd9867d15bd81b3fd86487837d9e3c6fe.zip | |
remove user with empty username_clean...
git-svn-id: file:///svn/phpbb/trunk@7180 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
| -rw-r--r-- | phpBB/install/convertors/convert_phpbb20.php | 6 | ||||
| -rwxr-xr-x | phpBB/install/install_install.php | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/install/convertors/convert_phpbb20.php b/phpBB/install/convertors/convert_phpbb20.php index eb7c106d73..132c4fedb4 100644 --- a/phpBB/install/convertors/convert_phpbb20.php +++ b/phpBB/install/convertors/convert_phpbb20.php @@ -821,7 +821,11 @@ if (!$get_info) array('target', 'DELETE FROM ' . USERS_TABLE . ' WHERE user_id <> ' . ANONYMOUS), array('target', $convert->truncate_statement . BOTS_TABLE) ), - + + 'execute_last' => ' + remove_invalid_users(); + ', + array('user_id', 'users.user_id', 'phpbb_user_id'), array('', 'users.user_id AS poster_id', 'phpbb_user_id'), array('user_type', 'users.user_active', 'set_user_type'), diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 392f70dec9..eeb0bd8491 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -1669,7 +1669,7 @@ class install_install extends module if (!function_exists('user_add')) { - include_once($phpbb_root_path . 'includes/functions_user.' . $phpEx); + include($phpbb_root_path . 'includes/functions_user.' . $phpEx); } foreach ($this->bot_list as $bot_name => $bot_ary) |
