Author: arkurth
Date: Fri Jun  5 15:24:08 2009
New Revision: 782048

URL: http://svn.apache.org/viewvc?rev=782048&view=rev
Log:
Fixed bug in DataStructure.pm in retrieve_user_DataStructure.pm(). It shouldn't 
update the data stored in the object.

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm?rev=782048&r1=782047&r2=782048&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm Fri Jun  5 
15:24:08 2009
@@ -1307,14 +1307,7 @@
                return;
        }
        
-       # If subroutine was called as an object method, replace the user key in 
the request data
-       if ($self) {
-               $self->request_data->{user} = $user_data_hash{user};
-               notify($ERRORS{'DEBUG'}, 0, "data has been stored for user: 
$user_login_id (id: $user_id)");
-       }
-       else {
-               notify($ERRORS{'DEBUG'}, 0, "data has been retrieved for user: 
$user_login_id (id: $user_id)");
-       }
+       notify($ERRORS{'DEBUG'}, 0, "data has been retrieved for user: 
$user_login_id (id: $user_id)");
        
        return $user_data_hash{user};
 }


Reply via email to