Commit de4ab76b authored by Leigh Stoller's avatar Leigh Stoller

Add uid_idx() to be compat with User.pm

parent f9b9598c
...@@ -831,6 +831,7 @@ sub Create($$) ...@@ -831,6 +831,7 @@ sub Create($$)
sub emulab_user() { return $_[0]->{'USER'}; } sub emulab_user() { return $_[0]->{'USER'}; }
sub idx($) { return $_[0]->{'USER'}->uid_idx(); } sub idx($) { return $_[0]->{'USER'}->uid_idx(); }
sub uid_idx($) { return $_[0]->{'USER'}->uid_idx(); }
sub uid($) { return $_[0]->{'USER'}->uid(); } sub uid($) { return $_[0]->{'USER'}->uid(); }
sub uuid { return $_[0]->{'USER'}->uuid(); } sub uuid { return $_[0]->{'USER'}->uuid(); }
sub created($) { return $_[0]->{'USER'}->created(); } sub created($) { return $_[0]->{'USER'}->created(); }
......
Markdown is supported
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