Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorUser.php
Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Lines | public function save() { | ||||
$result = parent::save(); | $result = parent::save(); | ||||
if ($this->profile) { | if ($this->profile) { | ||||
$this->profile->save(); | $this->profile->save(); | ||||
} | } | ||||
$this->updateNameTokens(); | $this->updateNameTokens(); | ||||
id(new PhabricatorSearchIndexer()) | PhabricatorSearchWorker::queueDocumentForIndexing($this->getPHID()); | ||||
->queueDocumentForIndexing($this->getPHID()); | |||||
return $result; | return $result; | ||||
} | } | ||||
public function attachSession(PhabricatorAuthSession $session) { | public function attachSession(PhabricatorAuthSession $session) { | ||||
$this->session = $session; | $this->session = $session; | ||||
return $this; | return $this; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1,027 Lines • Show Last 20 Lines |