Phriction - kill off rest of project integration

Summary: we don't need this stuff no mo'.  Fixes T6506.

Test Plan: cruised the wiki, noting workingess

Reviewers: chad, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6506

Differential Revision: https://secure.phabricator.com/D10832
This commit is contained in:
Bob Trahan
2014-11-11 13:45:16 -08:00
parent 9252d2a579
commit b462a80cca
6 changed files with 1 additions and 136 deletions

View File

@@ -62,17 +62,6 @@ final class PhrictionEditController
$content = $document->getContent();
$current_version = $content->getVersion();
} else {
if (PhrictionDocument::isProjectSlug($slug)) {
$project = id(new PhabricatorProjectQuery())
->setViewer($user)
->withPhrictionSlugs(array(
PhrictionDocument::getProjectSlugIdentifier($slug),
))
->executeOne();
if (!$project) {
return new Aphront404Response();
}
}
$document = PhrictionDocument::initializeNewDocument($user, $slug);
$content = $document->getContent();
}