Commit 82a3cbbd authored by Leigh Stoller's avatar Leigh Stoller

Minor fix to previous revision.

parent edd694e1
......@@ -101,7 +101,9 @@ use libaudit;
use libdb;
use libtestbed;
use User;
use APT_Utility;
if (@PROTOGENI_SUPPORT@) {
require APT_Utility;
}
#
# Function prototypes
......@@ -472,8 +474,9 @@ sub ParseKey($) {
# Mark user record as modified so nodes are updated.
#
TBNodeUpdateAccountsByUID($user_uid);
APT_Utility::UpdateInstancesByUser($target_user);
if (@PROTOGENI_SUPPORT@) {
APT_Utility::UpdateInstancesByUser($target_user);
}
my $chunked = "";
while (length($key)) {
......
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