diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-01-06 23:59:02 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-01-06 23:59:02 +0100 |
commit | a21da9f9fd9e936eac1b3855fb0f09a00156a00f (patch) | |
tree | eb2d6e3a8800af765fc533cd7cf2d7b3624136ed | |
parent | 1093cdd8238b1f120a56c63727e9b48f72afb6e2 (diff) | |
download | nextcloud-server-a21da9f9fd9e936eac1b3855fb0f09a00156a00f.tar.gz nextcloud-server-a21da9f9fd9e936eac1b3855fb0f09a00156a00f.zip |
fixing returns
-rw-r--r-- | lib/public/response.php | 14 | ||||
-rw-r--r-- | lib/public/util.php | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/public/response.php b/lib/public/response.php index bfb84eda5d1..de0c3f25347 100644 --- a/lib/public/response.php +++ b/lib/public/response.php @@ -42,7 +42,7 @@ class Response { * null cache indefinitly */ static public function enableCaching( $cache_time = null ) { - return(\OC_Response::enableCaching( $cache_time )); + \OC_Response::enableCaching( $cache_time ); } /** @@ -51,7 +51,7 @@ class Response { * @param string $lastModified time when the reponse was last modified */ static public function setLastModifiedHeader( $lastModified ) { - return(\OC_Response::setLastModifiedHeader( $lastModified )); + \OC_Response::setLastModifiedHeader( $lastModified ); } /** @@ -59,7 +59,7 @@ class Response { * @see enableCaching with cache_time = 0 */ static public function disableCaching() { - return(\OC_Response::disableCaching()); + \OC_Response::disableCaching(); } /** @@ -68,7 +68,7 @@ class Response { * @param string $etag token to use for modification check */ static public function setETagHeader( $etag ) { - return(\OC_Response::setETagHeader( $etag )); + \OC_Response::setETagHeader( $etag ); } /** @@ -76,7 +76,7 @@ class Response { * @param string $filepath of file to send */ static public function sendFile( $filepath ) { - return(\OC_Response::sendFile( $filepath )); + \OC_Response::sendFile( $filepath ); } /** @@ -86,7 +86,7 @@ class Response { * DateTime object when to expire response */ static public function setExpiresHeader( $expires ) { - return(\OC_Response::setExpiresHeader( $expires )); + \OC_Response::setExpiresHeader( $expires ); } /** @@ -94,6 +94,6 @@ class Response { * @param string $location to redirect to */ static public function redirect( $location ) { - return(\OC_Response::redirect( $location )); + \OC_Response::redirect( $location ); } } diff --git a/lib/public/util.php b/lib/public/util.php index df09ea81ae1..1320ffabd80 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -298,7 +298,7 @@ class Util { * Todo: Write howto */ public static function callCheck() { - return(\OC_Util::callCheck()); + \OC_Util::callCheck(); } /** |