[cvs] [Wiki] changed: RenameUsers

Wiki Guest wiki at wiki.horde.org
Sun Jan 15 03:27:53 PST 2006


guest [84.56.1.67]  Sun, 15 Jan 2006 03:27:53 -0800

Modified page: http://wiki.horde.org/RenameUsers
New Revision:  1.5
Change log:  found some other entries

@@ -31,8 +31,10 @@
 update horde_datatree set user_uid = '$new' where user_uid = '$old';
 update horde_datatree set datatree_name = '$new' where datatree_name = '$old' and user_uid = '$new';
 update horde_datatree_attributes set attribute_value = '$new' where attribute_value = '$old' and attribute_key = 'who';
 update horde_datatree_attributes set attribute_key= '$new' where attribute_key = '$old' and attribute_name = 'perm_users';
+update horde_datatree_attributes set attribute_key= '$new' where attribute_key = '$old' and attribute_name = 'user';
+update horde_datatree_attributes set attribute_value = '$new' where attribute_value = '$old' and attribute_name = 'uid';
 update horde_datatree_attributes set attribute_value = '$new' where attribute_value = '$old' and attribute_name = 'owner';
 update horde_prefs set pref_uid = '$new' where pref_uid = '$old';
 update kronolith_events set event_creator_id = '$new' where event_creator_id = '$old';
 update kronolith_events set calendar_id = '$new' where calendar_id = '$old';


More information about the cvs mailing list