1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

Remove debug code.

This commit is contained in:
Cameron 2017-01-23 13:31:02 -08:00
parent 39bd9ba334
commit 3a0c353568

View File

@ -2584,24 +2584,12 @@ class e_parse extends e_parser
$parm['crop'] = null;
}
$defaultWidth = $this->thumbWidth();
$defaultHeight = $this->thumbHeight();
if(empty($defaultWidth) && empty($defaultHeight))
{
return false;
}
$parms = array('w'=>$width,'h'=>$height,'crop'=> $parm['crop'],'x'=>$parm['x'], 'aw'=>$parm['aw'],'ah'=>$parm['ah']);
// $parms = !empty($this->thumbCrop) ? array('aw' => $width, 'ah' => $height, 'x'=>$encode) : array('w' => $width, 'h' => $height, 'x'=>$encode );
// $parms['x'] = $encode;
if(!empty($parm['return']) && $parm['return'] == 'src')
{
return $this->thumbUrl($src, $parms);