Skip to content

Commit 368f359

Browse files
committedAug 13, 2015
Use PhutilClassMapQuery instead of PhutilSymbolLoader
Summary: Use `PhutilClassMaQuery` instead of `PhutilSymbolLoader`, mostly for consistency. Depends on D13588. Test Plan: Poked around a bunch of pages. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13589
1 parent 7938d9a commit 368f359

File tree

73 files changed

+180
-257
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+180
-257
lines changed
 

‎scripts/almanac/manage_almanac.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
);
1515
$args->parseStandardArguments();
1616

17-
$workflows = id(new PhutilSymbolLoader())
17+
$workflows = id(new PhutilClassMapQuery())
1818
->setAncestorClass('AlmanacManagementWorkflow')
19-
->loadObjects();
19+
->execute();
2020
$workflows[] = new PhutilHelpArgumentWorkflow();
2121
$args->parseWorkflows($workflows);

‎scripts/cache/manage_cache.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
);
1515
$args->parseStandardArguments();
1616

17-
$workflows = id(new PhutilSymbolLoader())
17+
$workflows = id(new PhutilClassMapQuery())
1818
->setAncestorClass('PhabricatorCacheManagementWorkflow')
19-
->loadObjects();
19+
->execute();
2020
$workflows[] = new PhutilHelpArgumentWorkflow();
2121
$args->parseWorkflows($workflows);

0 commit comments

Comments
 (0)
Failed to load comments.