All empty double-quoted strings replaced with single-quotes
[core.git] / inc / classes / main / response / image / class_ImageResponse.php
index 10fb811201beeefb89604a80692e68b244d82c39..dc6e5ad03e0f2a5debf4c3f7bf319d75983866f2 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -170,7 +170,7 @@ class ImageResponse extends BaseResponse implements Responseable {
                $this->setResponseStatus("301 Moved Permanently");
 
                // Clear the body
-               $this->setResponseBody("");
+               $this->setResponseBody('');
 
                // Flush the result
                $this->flushBuffer();
@@ -213,7 +213,7 @@ class ImageResponse extends BaseResponse implements Responseable {
                // Is the cookie there?
                if (isset($_COOKIE[$cookieName])) {
                        // Then expire it with 20 minutes past
-                       $this->addCookie($cookieName, "", false, (time() - 1200));
+                       $this->addCookie($cookieName, '', false, (time() - 1200));
 
                        // Remove it from array
                        unset($_COOKIE[$cookieName]);