SSH2: rm format_log_helper method

This commit is contained in:
terrafrost 2020-05-12 08:35:45 -05:00
parent cc45f18cb8
commit 995bf77315

View File

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