Remove mailing lists application
Summary: Ref T8387. This is now completely obsoleted by mailing list users. Test Plan: Grepped for `mailinglist` and related symbols. Reviewers: btrahan Reviewed By: btrahan Subscribers: eadler, epriestley Maniphest Tasks: T8387 Differential Revision: https://secure.phabricator.com/D13129
This commit is contained in:
@@ -143,27 +143,6 @@ final class PhabricatorObjectListQuery {
|
||||
}
|
||||
}
|
||||
|
||||
$mailing_list_app = PhabricatorApplication::getByClass(
|
||||
'PhabricatorMailingListsApplication');
|
||||
if ($mailing_list_app->isInstalled()) {
|
||||
if ($names) {
|
||||
// We still haven't been able to resolve everything; try mailing lists
|
||||
// by name as a last resort.
|
||||
$lists = id(new PhabricatorMailingListQuery())
|
||||
->setViewer($this->getViewer())
|
||||
->withNames($names)
|
||||
->execute();
|
||||
|
||||
$lists = mpull($lists, null, 'getName');
|
||||
foreach ($names as $key => $name) {
|
||||
if (isset($lists[$name])) {
|
||||
$results[$name] = $lists[$name];
|
||||
unset($names[$key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $results;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user