diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 4730770067..4492d4eb55 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -1024,7 +1024,6 @@ phutil_register_library_map(array( 'ManiphestTask' => 'applications/maniphest/storage/ManiphestTask.php', 'ManiphestTaskDependedOnByTaskEdgeType' => 'applications/maniphest/edge/ManiphestTaskDependedOnByTaskEdgeType.php', 'ManiphestTaskDependsOnTaskEdgeType' => 'applications/maniphest/edge/ManiphestTaskDependsOnTaskEdgeType.php', - 'ManiphestTaskDescriptionPreviewController' => 'applications/maniphest/controller/ManiphestTaskDescriptionPreviewController.php', 'ManiphestTaskDetailController' => 'applications/maniphest/controller/ManiphestTaskDetailController.php', 'ManiphestTaskEditController' => 'applications/maniphest/controller/ManiphestTaskEditController.php', 'ManiphestTaskHasCommitEdgeType' => 'applications/maniphest/edge/ManiphestTaskHasCommitEdgeType.php', @@ -4165,7 +4164,6 @@ phutil_register_library_map(array( ), 'ManiphestTaskDependedOnByTaskEdgeType' => 'PhabricatorEdgeType', 'ManiphestTaskDependsOnTaskEdgeType' => 'PhabricatorEdgeType', - 'ManiphestTaskDescriptionPreviewController' => 'ManiphestController', 'ManiphestTaskDetailController' => 'ManiphestController', 'ManiphestTaskEditController' => 'ManiphestController', 'ManiphestTaskHasCommitEdgeType' => 'PhabricatorEdgeType', diff --git a/src/applications/maniphest/controller/ManiphestTaskDescriptionPreviewController.php b/src/applications/maniphest/controller/ManiphestTaskDescriptionPreviewController.php deleted file mode 100644 index a1a484727a..0000000000 --- a/src/applications/maniphest/controller/ManiphestTaskDescriptionPreviewController.php +++ /dev/null @@ -1,25 +0,0 @@ -getRequest(); - $description = $request->getStr('description'); - - $task = new ManiphestTask(); - $task->setDescription($description); - - $output = PhabricatorMarkupEngine::renderOneObject( - $task, - ManiphestTask::MARKUP_FIELD_DESCRIPTION, - $request->getUser(), - $task); - - $content = phutil_tag_div('phabricator-remarkup', $output); - - return id(new AphrontAjaxResponse()) - ->setContent($content); - } - -}