From 33aa395806522e9d642948e79682266e0fd85ed1 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 27 May 2014 13:44:21 -0700 Subject: [PATCH] Delete some junko garbage Summary: We haven't needed this for like three years, so we probably won't ever need it. It's in history if we do. Test Plan: thought long and hard Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D9311 --- .../plugin/DarkConsoleErrorLogPlugin.php | 55 ------------------- 1 file changed, 55 deletions(-) diff --git a/src/aphront/console/plugin/DarkConsoleErrorLogPlugin.php b/src/aphront/console/plugin/DarkConsoleErrorLogPlugin.php index 7c96cafe6f..cf2d2841f2 100644 --- a/src/aphront/console/plugin/DarkConsoleErrorLogPlugin.php +++ b/src/aphront/console/plugin/DarkConsoleErrorLogPlugin.php @@ -99,58 +99,3 @@ final class DarkConsoleErrorLogPlugin extends DarkConsolePlugin { )); } } - -/* - $data = $this->getData(); - if (!$data) { - return - -
No errors.
-
; - } - - $markup = ; - $alt = false; - foreach ($data as $error) { - $row = ; - - $text = $error['error']; - $text = preg_replace('/\(in .* on line \d+\)$/', '', trim($text)); - - $trace = $error['trace']; - $trace = explode("\n", $trace); - if (!$trace) { - $trace = array('unknown@0@unknown'); - } - - foreach ($trace as $idx => $traceline) { - list($file, $line, $where) = array_merge( - explode('@', $traceline), - array('?', '?', '?')); - if ($where == 'DarkConsole->addError' || - $where == 'debug_rlog') { - unset($trace[$idx]); - } - } - - $row->appendChild(); - - foreach ($trace as $traceline) { - list($file, $line, $where) = array_merge( - explode('@', $traceline), - array('?', '?', '?')); - $row->appendChild(); - $row->appendChild(); - $markup->appendChild($row); - $row = ; - } - - $alt = !$alt; - } - - return - -

Errors

-
{$markup}
-
; -*/
{$text}{$file}:{$line}{$where}()