]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/response/image/class_ImageResponse.php
getDefaultCommand() is now moved to BaseResponse.
[core.git] / inc / classes / main / response / image / class_ImageResponse.php
index 0a8e92c7cdb0abe62273053be4171402e8f4648f..3cd50146d77d4307dca372598466260362d2da48 100644 (file)
@@ -33,6 +33,9 @@ class ImageResponse extends BaseResponse implements Responseable {
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
+
+               // Set response type
+               $this->setResponseType('image');
        }
 
        /**
@@ -230,16 +233,6 @@ class ImageResponse extends BaseResponse implements Responseable {
                        $this->addCookie($cookieName, $_COOKIE[$cookieName], FALSE);
                } // END - if
        }
-
-       /**
-        * Getter for default command
-        *
-        * @return      $defaultCommand         Default command for this response
-        */
-       public function getDefaultCommand () {
-               $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_image_command');
-               return $defaultCommand;
-       }
 }
 
 // [EOF]