X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresponse%2Fimage%2Fclass_ImageResponse.php;fp=inc%2Fclasses%2Fmain%2Fresponse%2Fimage%2Fclass_ImageResponse.php;h=dceb517d22e79eed168f18019dc08bf98ae4e10c;hp=bcf0c157829808186ae749094539a3487050bd9e;hb=f9100a45eb170c0de46b9f73e88508b03ede00d0;hpb=fe5cbde27a571db160694ebb0eb9be02af57dd5a diff --git a/inc/classes/main/response/image/class_ImageResponse.php b/inc/classes/main/response/image/class_ImageResponse.php index bcf0c157..dceb517d 100644 --- a/inc/classes/main/response/image/class_ImageResponse.php +++ b/inc/classes/main/response/image/class_ImageResponse.php @@ -25,11 +25,6 @@ * Michal Cihar , licensed under GNU GPL 2.0. */ class ImageResponse extends BaseResponse implements Responseable { - /** - * Instance of the image - */ - private $imageInstance = null; - /** * Protected constructor * @@ -71,7 +66,7 @@ class ImageResponse extends BaseResponse implements Responseable { $cfg = $this->getConfigInstance(); // Set new template engine - $cfg->setConfigEntry('template_class' , $cfg->getConfigEntry('image_template_class')); + $cfg->setConfigEntry('web_template_class' , $cfg->getConfigEntry('image_template_class')); $cfg->setConfigEntry('raw_template_extension' , '.img'); $cfg->setConfigEntry('code_template_extension', '.xml'); $cfg->setConfigEntry('tpl_base_path' , 'templates/images/'); @@ -236,25 +231,6 @@ class ImageResponse extends BaseResponse implements Responseable { } // END - if } - /** - * Setter for image instanxe - * - * @param $imageInstance An instance of an image - * @return void - */ - public final function setImageInstance (BaseImage $imageInstance) { - $this->imageInstance = $imageInstance; - } - - /** - * Getter for image instanxe - * - * @return $imageInstance An instance of an image - */ - public final function getImageInstance () { - return $this->imageInstance; - } - /** * Getter for default command *