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:
epriestley
2015-06-02 15:20:30 -07:00
parent 249ee9f104
commit ba6cb62b49
19 changed files with 1 additions and 714 deletions

View File

@@ -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;
}