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() *