mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Remove debug code.
This commit is contained in:
parent
39bd9ba334
commit
3a0c353568
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user