--- /opt/otrs/Kernel/System/User.pm	2007-08-06 04:11:50.000000000 +0200
+++ /opt/otrs/Kernel/System/original/User.pm	2007-08-06 04:11:24.000000000 +0200
@@ -138,7 +138,7 @@
     my %Data;
     # get initial data
     my $SQL = "SELECT $Self->{UserTableUserID}, $Self->{UserTableUser}, ".
-        " salutation, first_name, last_name, $Self->{UserTableUserPW}, valid_id, report_group ".
+        " salutation, first_name, last_name, $Self->{UserTableUserPW}, valid_id ".
         " FROM " .
         " $Self->{UserTable} " .
         " WHERE ";
@@ -157,7 +157,6 @@
         $Data{UserLastname} = $Row[4];
         $Data{UserPw} = $Row[5];
         $Data{ValidID} = $Row[6];
-	$Data{ReportGroup} = $Row[7];
     }
     # check data
     if (!$Data{UserID}) {
@@ -258,14 +257,14 @@
         " last_name, " .
         " $Self->{UserTableUser}, " .
         " $Self->{UserTableUserPW}, " .
-        " valid_id, create_time, create_by, change_time, change_by, report_group)" .
+        " valid_id, create_time, create_by, change_time, change_by)" .
         " VALUES " .
         " ('$Param{UserSalutation}', " .
         " '$Param{UserFirstname}', " .
         " '$Param{UserLastname}', " .
         " '$Param{UserLogin}', " .
         " '$Param{UserPw}', " .
-        " $Param{ValidID}, current_timestamp, $Param{ChangeUserID}, $Param{ReportGroup}".
+        " $Param{ValidID}, current_timestamp, $Param{ChangeUserID}, ".
         " current_timestamp, $Param{ChangeUserID})";
 
     if ($Self->{DBObject}->Do(SQL => $SQL)) {
@@ -349,8 +348,7 @@
         " $Self->{UserTableUser} = '$Param{UserLogin}', " .
         " valid_id = $Param{ValidID}, " .
         " change_time = current_timestamp, " .
-        " change_by = $Param{ChangeUserID}, " .			
-	" report_group = $Param{ReportGroup} ".
+        " change_by = $Param{ChangeUserID} " .
         " WHERE $Self->{UserTableUserID} = $Param{UserID}";
 
     if ($Self->{DBObject}->Do(SQL => $SQL)) {
