From 995bf77315130277899644f954791f236b1881e5 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 12 May 2020 08:35:45 -0500 Subject: [PATCH] SSH2: rm format_log_helper method --- phpseclib/Net/SSH2.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 8c0fbce7..57b464c0 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -4206,20 +4206,6 @@ class SSH2 return $output; } - /** - * Helper function for _format_log - * - * For use with preg_replace_callback() - * - * @param array $matches - * @access private - * @return string - */ - private function format_log_helper($matches) - { - return $this->log_boundary . str_pad(dechex(ord($matches[0])), 2, '0', STR_PAD_LEFT); - } - /** * Helper function for agent->on_channel_open() *