Differential D20914 Diff 49858 src/applications/diffusion/identity/DiffusionRepositoryIdentityEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/identity/DiffusionRepositoryIdentityEngine.php
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | private function updateIdentity(PhabricatorRepositoryIdentity $identity) { | ||||
$identity | $identity | ||||
->setAutomaticGuessedUserPHID($resolved_phid) | ->setAutomaticGuessedUserPHID($resolved_phid) | ||||
->save(); | ->save(); | ||||
return $identity; | return $identity; | ||||
} | } | ||||
public function didUpdateEmailAddress($raw_address) { | |||||
PhabricatorWorker::scheduleTask( | |||||
'PhabricatorRepositoryIdentityChangeWorker', | |||||
array( | |||||
'emailAddresses' => array($raw_address), | |||||
)); | |||||
} | |||||
} | } |