mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Fix Versions page
Summary: - ipull there is wrong - The `+` wasn't doing what I thought it was doing. - I already forgot what that detour was doing, so I wrote it down. Test Plan: Load Versions page, see no error log. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D14686
This commit is contained in:
parent
2353121dee
commit
51268de15f
1 changed files with 3 additions and 3 deletions
|
@ -45,9 +45,9 @@ final class PhabricatorConfigVersionsModule
|
||||||
);
|
);
|
||||||
|
|
||||||
$all_libraries = PhutilBootloader::getInstance()->getAllLibraries();
|
$all_libraries = PhutilBootloader::getInstance()->getAllLibraries();
|
||||||
$other_libraries = array_diff($all_libraries, ipull($specs, 'lib'));
|
// This puts the core libraries at the top:
|
||||||
$specs = $specs + $other_libraries;
|
$other_libraries = array_diff($all_libraries, $specs);
|
||||||
|
$specs = array_merge($specs, $other_libraries);
|
||||||
|
|
||||||
$futures = array();
|
$futures = array();
|
||||||
foreach ($specs as $lib) {
|
foreach ($specs as $lib) {
|
||||||
|
|
Loading…
Reference in a new issue