]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Delete flushing moved to libphutil
authorvrana <jakubv@fb.com>
Fri, 28 Sep 2012 16:45:11 +0000 (09:45 -0700)
committervrana <jakubv@fb.com>
Fri, 28 Sep 2012 16:56:57 +0000 (09:56 -0700)
Test Plan:
  $ arc diff # under HPHP

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3563

src/workflow/ArcanistDiffWorkflow.php

index bf3d7d7a8db0da8e1a592155ba58c8fef1daf4fc..187ed4e2e121b152c594e8cdcf50f0d092017350 100644 (file)
@@ -1238,7 +1238,6 @@ EOTEXT
       }
 
       $lint_result = $lint_workflow->run();
-      $this->flushOutput();
 
       switch ($lint_result) {
         case ArcanistLintWorkflow::RESULT_OKAY:
@@ -1311,7 +1310,6 @@ EOTEXT
       }
       $unit_workflow = $this->buildChildWorkflow('unit', $argv);
       $unit_result = $unit_workflow->run();
-      $this->flushOutput();
 
       switch ($unit_result) {
         case ArcanistUnitWorkflow::RESULT_OKAY:
@@ -1384,12 +1382,6 @@ EOTEXT
     return $return;
   }
 
-  private function flushOutput() {
-    if ($this->getArgument('no-diff')) {
-      ob_flush();
-    }
-  }
-
 
 /* -(  Commit and Update Messages  )----------------------------------------- */