summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-10-23 05:57:34 +0200
committerThomas Tanghus <thomas@tanghus.net>2013-10-23 05:57:34 +0200
commitad017285e15b077bf0ca3457f05a7b082abea6b0 (patch)
tree56445784a888c80d163b190c0a1c73a6382971f9 /lib/public/appframework
parent064fd5ae53b4f3384d040ddf2dcb648cc3c7445f (diff)
downloadnextcloud-server-ad017285e15b077bf0ca3457f05a7b082abea6b0.tar.gz
nextcloud-server-ad017285e15b077bf0ca3457f05a7b082abea6b0.zip
Fix namespace for OCP\Appframework\Http
To avoid having to use OCP\Appframework\Http\Http in the public - and stable - API OCP\Appframework\Http is now both a class and a namespace.
Diffstat (limited to 'lib/public/appframework')
-rw-r--r--lib/public/appframework/http.php (renamed from lib/public/appframework/http/http.php)2
-rw-r--r--lib/public/appframework/http/jsonresponse.php1
-rw-r--r--lib/public/appframework/http/response.php1
3 files changed, 3 insertions, 1 deletions
diff --git a/lib/public/appframework/http/http.php b/lib/public/appframework/http.php
index 9eafe782726..c05d8f8e46e 100644
--- a/lib/public/appframework/http/http.php
+++ b/lib/public/appframework/http.php
@@ -22,7 +22,7 @@
*/
-namespace OCP\AppFramework\Http;
+namespace OCP\AppFramework;
class Http {
diff --git a/lib/public/appframework/http/jsonresponse.php b/lib/public/appframework/http/jsonresponse.php
index 085fdbed2f9..fa7d32596e8 100644
--- a/lib/public/appframework/http/jsonresponse.php
+++ b/lib/public/appframework/http/jsonresponse.php
@@ -24,6 +24,7 @@
namespace OCP\AppFramework\Http;
+use OCP\AppFramework\Http;
/**
* A renderer for JSON calls
diff --git a/lib/public/appframework/http/response.php b/lib/public/appframework/http/response.php
index 5ca389b9946..54dc860fec2 100644
--- a/lib/public/appframework/http/response.php
+++ b/lib/public/appframework/http/response.php
@@ -24,6 +24,7 @@
namespace OCP\AppFramework\Http;
+use OCP\AppFramework\Http;
/**
* Base class for responses. Also used to just send headers.