From 2aba9b0e3feea6504abc5892a4f8665a9404ec65 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 30 May 2024 20:39:52 +0200 Subject: [PATCH] [prep-release-3.3.12] Remove columns from user_add These have default values and do not require setting in user_add(). --- phpBB/includes/functions_user.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index c33caba8e8..4846436a72 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -216,7 +216,6 @@ function user_add($user_row, $cp_data = false, $notifications_data = null) 'user_lang' => $config['default_lang'], 'user_style' => (int) $config['default_style'], 'user_actkey' => '', - 'user_actkey_expiration' => 0, 'user_ip' => '', 'user_regdate' => time(), 'user_passchg' => time(), @@ -228,7 +227,6 @@ function user_add($user_row, $cp_data = false, $notifications_data = null) 'user_inactive_time' => 0, 'user_lastmark' => time(), 'user_lastvisit' => 0, - 'user_last_active' => 0, 'user_lastpost_time' => 0, 'user_lastpage' => '', 'user_posts' => 0,