1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 20:40:56 +01:00

Fix missing SearchExecutor reference from D788.

This commit is contained in:
epriestley 2011-08-10 06:38:35 -07:00
parent 314e33c905
commit e137080d9c
2 changed files with 3 additions and 3 deletions

View file

@ -51,8 +51,8 @@ class PhabricatorSearchSelectController
break; break;
} }
$exec = new PhabricatorSearchMySQLExecutor(); $engine = PhabricatorSearchEngineSelector::newSelector()->newEngine();
$results = $exec->executeSearch($query); $results = $engine->executeSearch($query);
$phids = array_fill_keys(ipull($results, 'phid'), true); $phids = array_fill_keys(ipull($results, 'phid'), true);
$phids += $this->queryObjectNames($query_str); $phids += $this->queryObjectNames($query_str);

View file

@ -13,7 +13,7 @@ phutil_require_module('phabricator', 'applications/phid/constants');
phutil_require_module('phabricator', 'applications/phid/handle/data'); phutil_require_module('phabricator', 'applications/phid/handle/data');
phutil_require_module('phabricator', 'applications/phid/handle/view/selector'); phutil_require_module('phabricator', 'applications/phid/handle/view/selector');
phutil_require_module('phabricator', 'applications/search/controller/search'); phutil_require_module('phabricator', 'applications/search/controller/search');
phutil_require_module('phabricator', 'applications/search/execute/mysql'); phutil_require_module('phabricator', 'applications/search/selector/base');
phutil_require_module('phabricator', 'applications/search/storage/query'); phutil_require_module('phabricator', 'applications/search/storage/query');
phutil_require_module('phutil', 'utils'); phutil_require_module('phutil', 'utils');