]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/response/http/class_HttpResponse.php
All empty double-quoted strings replaced with single-quotes
[core.git] / inc / classes / main / response / http / class_HttpResponse.php
index c553263576a2b0ecb00761e7fc92c1d1bd653b6d..19a453bb52348741e67856402edc84b6dedc2b49 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
  *
@@ -156,7 +156,7 @@ class HttpResponse extends BaseResponse implements Responseable {
                $this->setResponseStatus("301 Moved Permanently");
 
                // Clear the body
-               $this->setResponseBody("");
+               $this->setResponseBody('');
 
                // Flush the result
                $this->flushBuffer();
@@ -175,7 +175,7 @@ class HttpResponse 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]);