Ignore disabled users for Git/SVN synchronization
This commit is contained in:
@@ -45,6 +45,10 @@ function handleSingleUserPHID(
|
||||
return array();
|
||||
}
|
||||
|
||||
if ($user->getIsDisabled()) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$keys = id(new PhabricatorAuthSSHKey())->loadAllWhere(
|
||||
'objectPHID = %s',
|
||||
$user->getPHID());
|
||||
|
||||
@@ -21,6 +21,10 @@ function handleSingleUserPHID(
|
||||
return;
|
||||
}
|
||||
|
||||
if ($user->getIsDisabled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$user_name = $user->getUserName();
|
||||
if (!array_key_exists($user_name, $authfile)) {
|
||||
$field_list = PhabricatorCustomField::getObjectFields(
|
||||
|
||||
Reference in New Issue
Block a user