[cvs] [Wiki] changed: RenameUsers
Wiki Guest
wiki at wiki.horde.org
Wed Nov 23 15:43:53 PST 2005
guest [205.191.171.10] Wed, 23 Nov 2005 15:43:53 -0800
Modified page: http://wiki.horde.org/RenameUsers
New Revision: 1.2
Change log: Oops... remove password. What a fool ;)
@@ -23,11 +23,11 @@
#!/bin/sh
function horde_rename() {
new=$2; old=$1
- echo Rename $old \-\> $new
+ echo Rename $old -> $new
- mysql -u horde -pdocile horde << EOF
+ mysql -u horde -ppassword horde << EOF
update hermes_timeslices set employee_id = '$new' where employee_id = '$old';
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';
More information about the cvs
mailing list