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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user