Page MenuHomePhabricator

D20587.id49105.diff
No OneTemporary

D20587.id49105.diff

diff --git a/src/applications/auth/engine/PhabricatorAuthSessionEngine.php b/src/applications/auth/engine/PhabricatorAuthSessionEngine.php
--- a/src/applications/auth/engine/PhabricatorAuthSessionEngine.php
+++ b/src/applications/auth/engine/PhabricatorAuthSessionEngine.php
@@ -485,7 +485,7 @@
// change the order of prompts for users, but the alternative is that the
// Settings panel order disagrees with the prompt order, which seems more
// disruptive.
- $factors = msort($factors, 'newSortVector');
+ $factors = msortv($factors, 'newSortVector');
// If the account has no associated multi-factor auth, just issue a token
// without putting the session into high security mode. This is generally
diff --git a/src/applications/settings/panel/PhabricatorExternalAccountsSettingsPanel.php b/src/applications/settings/panel/PhabricatorExternalAccountsSettingsPanel.php
--- a/src/applications/settings/panel/PhabricatorExternalAccountsSettingsPanel.php
+++ b/src/applications/settings/panel/PhabricatorExternalAccountsSettingsPanel.php
@@ -94,7 +94,7 @@
->setViewer($viewer)
->withIsEnabled(true)
->execute();
- $configs = msort($configs, 'getSortVector');
+ $configs = msortv($configs, 'getSortVector');
$account_map = mgroup($accounts, 'getProviderConfigPHID');
diff --git a/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php b/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php
--- a/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php
+++ b/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php
@@ -54,7 +54,7 @@
->setViewer($viewer)
->withUserPHIDs(array($user->getPHID()))
->execute();
- $factors = msort($factors, 'newSortVector');
+ $factors = msortv($factors, 'newSortVector');
$rows = array();
$rowc = array();

File Metadata

Mime Type
text/plain
Expires
Sat, May 11, 7:04 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6285070
Default Alt Text
D20587.id49105.diff (1 KB)

Event Timeline