diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-09-22 22:14:05 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-09-22 22:14:05 +0000 |
commit | 1d7e3e0fd95fb5baf92937d1f911649cb1a665e9 (patch) | |
tree | e452132555a321548f9c61043354a2bfb9481ca0 /phpBB/includes/functions_user.php | |
parent | 587ec3fa77d90819148cdeda2b490bbf82632114 (diff) | |
download | forums-1d7e3e0fd95fb5baf92937d1f911649cb1a665e9.tar forums-1d7e3e0fd95fb5baf92937d1f911649cb1a665e9.tar.gz forums-1d7e3e0fd95fb5baf92937d1f911649cb1a665e9.tar.bz2 forums-1d7e3e0fd95fb5baf92937d1f911649cb1a665e9.tar.xz forums-1d7e3e0fd95fb5baf92937d1f911649cb1a665e9.zip |
some tiny fixes here and there
git-svn-id: file:///svn/phpbb/trunk@6383 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 8970b7865e..07701f27ac 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -156,6 +156,7 @@ function user_add($user_row, $cp_data = false) 'user_actkey' => '', 'user_ip' => '', 'user_regdate' => time(), + 'user_passchg' => time(), 'user_lastmark' => time(), 'user_lastvisit' => 0, @@ -255,6 +256,7 @@ function user_add($user_row, $cp_data = false) function user_delete($mode, $user_id, $post_username = false) { global $config, $db, $user, $auth; + global $phpbb_root_path, $phpEx; $db->sql_transaction('begin'); @@ -286,7 +288,6 @@ function user_delete($mode, $user_id, $post_username = false) if (!function_exists('delete_posts')) { - global $phpbb_root_path, $phpEx; include_once($phpbb_root_path . 'includes/functions_admin.' . $phpEx); } |