Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorUser.php
| Show First 20 Lines • Show All 497 Lines • ▼ Show 20 Lines | if ($this->getPHID()) { | ||||
| ->setViewer($this) | ->setViewer($this) | ||||
| ->withUsers(array($this)) | ->withUsers(array($this)) | ||||
| ->executeOne(); | ->executeOne(); | ||||
| } | } | ||||
| if (!$preferences) { | if (!$preferences) { | ||||
| $preferences = new PhabricatorUserPreferences(); | $preferences = new PhabricatorUserPreferences(); | ||||
| $preferences->setUserPHID($this->getPHID()); | $preferences->setUserPHID($this->getPHID()); | ||||
| $preferences->attachUser($this); | |||||
| $default_dict = array( | $default_dict = array( | ||||
| PhabricatorUserPreferences::PREFERENCE_TITLES => 'glyph', | PhabricatorUserPreferences::PREFERENCE_TITLES => 'glyph', | ||||
| PhabricatorUserPreferences::PREFERENCE_EDITOR => '', | PhabricatorUserPreferences::PREFERENCE_EDITOR => '', | ||||
| PhabricatorUserPreferences::PREFERENCE_MONOSPACED => '', | PhabricatorUserPreferences::PREFERENCE_MONOSPACED => '', | ||||
| PhabricatorUserPreferences::PREFERENCE_DARK_CONSOLE => 0, | PhabricatorUserPreferences::PREFERENCE_DARK_CONSOLE => 0, | ||||
| ); | ); | ||||
| ▲ Show 20 Lines • Show All 950 Lines • Show Last 20 Lines | |||||