Commit ba8615cd authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Commit old bug fix; rename in group table.

parent 85303108
...@@ -162,6 +162,10 @@ print "Updating widearea_accounts table ...\n"; ...@@ -162,6 +162,10 @@ print "Updating widearea_accounts table ...\n";
DBQueryFatal("update widearea_accounts set uid='$newuid' ". DBQueryFatal("update widearea_accounts set uid='$newuid' ".
"where uid='$olduid'"); "where uid='$olduid'");
print "Updating groups table ...\n";
DBQueryFatal("update groups set leader='$newuid' ".
"where leader='$olduid'");
# Auto logout old user. # Auto logout old user.
print "Clearing logins table ...\n"; print "Clearing logins table ...\n";
DBQueryFatal("delete from login where uid='$olduid'"); DBQueryFatal("delete from login where uid='$olduid'");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment