Not needed anymore with the return false.

This commit is contained in:
Sébastien Lucas 2014-02-12 03:55:59 +01:00
parent 9785d229de
commit ed7b91633f

View file

@ -352,10 +352,6 @@ class Book extends Base {
return false; return false;
} }
// In case something bad happen below set a default size
$nw = "160";
$nh = "120";
$file = $this->getFilePath ("jpg"); $file = $this->getFilePath ("jpg");
// get image size // get image size
if ($size = GetImageSize($file)) { if ($size = GetImageSize($file)) {