aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJulien CHATY-CAPELLE <julien@chaty-capelle.fr>2024-05-26 12:51:24 +0200
committerKate <26026535+provokateurin@users.noreply.github.com>2024-07-15 11:50:02 +0200
commit2d84d0f5bfc998808608ee716e04ee53255c2f90 (patch)
tree1c1aa3bc2f2a702bf2235f2763e39b6a9e584e3e /core/Controller
parentb05e963f15d33502c6dafc435d3d3435d844ab2a (diff)
downloadnextcloud-server-2d84d0f5bfc998808608ee716e04ee53255c2f90.tar.gz
nextcloud-server-2d84d0f5bfc998808608ee716e04ee53255c2f90.zip
fix(core): use OC namespace for core ReponseDefinitions instead of OCA
Signed-off-by: Julien CHATY-CAPELLE <julien@chaty-capelle.fr>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/AutoCompleteController.php2
-rw-r--r--core/Controller/ClientFlowLoginV2Controller.php2
-rw-r--r--core/Controller/CollaborationResourcesController.php2
-rw-r--r--core/Controller/HoverCardController.php2
-rw-r--r--core/Controller/NavigationController.php2
-rw-r--r--core/Controller/ReferenceApiController.php2
-rw-r--r--core/Controller/TaskProcessingApiController.php2
-rw-r--r--core/Controller/TeamsApiController.php2
-rw-r--r--core/Controller/TextProcessingApiController.php2
-rw-r--r--core/Controller/TextToImageApiController.php2
-rw-r--r--core/Controller/UnifiedSearchController.php2
11 files changed, 11 insertions, 11 deletions
diff --git a/core/Controller/AutoCompleteController.php b/core/Controller/AutoCompleteController.php
index 70bbd61f589..02d525e1f7a 100644
--- a/core/Controller/AutoCompleteController.php
+++ b/core/Controller/AutoCompleteController.php
@@ -8,7 +8,7 @@ declare(strict_types=1);
*/
namespace OC\Core\Controller;
-use OCA\Core\ResponseDefinitions;
+use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
diff --git a/core/Controller/ClientFlowLoginV2Controller.php b/core/Controller/ClientFlowLoginV2Controller.php
index 919810eb728..bfa455ebe92 100644
--- a/core/Controller/ClientFlowLoginV2Controller.php
+++ b/core/Controller/ClientFlowLoginV2Controller.php
@@ -10,8 +10,8 @@ namespace OC\Core\Controller;
use OC\Core\Db\LoginFlowV2;
use OC\Core\Exception\LoginFlowV2NotFoundException;
+use OC\Core\ResponseDefinitions;
use OC\Core\Service\LoginFlowV2Service;
-use OCA\Core\ResponseDefinitions;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\FrontpageRoute;
diff --git a/core/Controller/CollaborationResourcesController.php b/core/Controller/CollaborationResourcesController.php
index 5422358b6cf..6cc351d9cdc 100644
--- a/core/Controller/CollaborationResourcesController.php
+++ b/core/Controller/CollaborationResourcesController.php
@@ -10,7 +10,7 @@ declare(strict_types=1);
namespace OC\Core\Controller;
use Exception;
-use OCA\Core\ResponseDefinitions;
+use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
diff --git a/core/Controller/HoverCardController.php b/core/Controller/HoverCardController.php
index da9c2580ea6..89ca3576dbe 100644
--- a/core/Controller/HoverCardController.php
+++ b/core/Controller/HoverCardController.php
@@ -8,7 +8,7 @@ declare(strict_types=1);
namespace OC\Core\Controller;
use OC\Contacts\ContactsMenu\Manager;
-use OCA\Core\ResponseDefinitions;
+use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
diff --git a/core/Controller/NavigationController.php b/core/Controller/NavigationController.php
index 8e5e9f58cf0..85656116144 100644
--- a/core/Controller/NavigationController.php
+++ b/core/Controller/NavigationController.php
@@ -5,7 +5,7 @@
*/
namespace OC\Core\Controller;
-use OCA\Core\ResponseDefinitions;
+use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
diff --git a/core/Controller/ReferenceApiController.php b/core/Controller/ReferenceApiController.php
index dc88223572d..77b4b43fa3a 100644
--- a/core/Controller/ReferenceApiController.php
+++ b/core/Controller/ReferenceApiController.php
@@ -8,7 +8,7 @@ declare(strict_types=1);
namespace OC\Core\Controller;
-use OCA\Core\ResponseDefinitions;
+use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
diff --git a/core/Controller/TaskProcessingApiController.php b/core/Controller/TaskProcessingApiController.php
index 2b56ed80ac6..90ee650f1ed 100644
--- a/core/Controller/TaskProcessingApiController.php
+++ b/core/Controller/TaskProcessingApiController.php
@@ -10,7 +10,7 @@ declare(strict_types=1);
namespace OC\Core\Controller;
-use OCA\Core\ResponseDefinitions;
+use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\AnonRateLimit;
use OCP\AppFramework\Http\Attribute\ApiRoute;
diff --git a/core/Controller/TeamsApiController.php b/core/Controller/TeamsApiController.php
index a4296ff5df6..a27f6deff76 100644
--- a/core/Controller/TeamsApiController.php
+++ b/core/Controller/TeamsApiController.php
@@ -8,7 +8,7 @@ declare(strict_types=1);
namespace OC\Core\Controller;
-use OCA\Core\ResponseDefinitions;
+use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\Attribute\NoAdminRequired;
diff --git a/core/Controller/TextProcessingApiController.php b/core/Controller/TextProcessingApiController.php
index 3a26af6b50c..40e569ee1d9 100644
--- a/core/Controller/TextProcessingApiController.php
+++ b/core/Controller/TextProcessingApiController.php
@@ -11,7 +11,7 @@ declare(strict_types=1);
namespace OC\Core\Controller;
use InvalidArgumentException;
-use OCA\Core\ResponseDefinitions;
+use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\AnonRateLimit;
use OCP\AppFramework\Http\Attribute\ApiRoute;
diff --git a/core/Controller/TextToImageApiController.php b/core/Controller/TextToImageApiController.php
index fe8362a5e65..4a560d8b04d 100644
--- a/core/Controller/TextToImageApiController.php
+++ b/core/Controller/TextToImageApiController.php
@@ -10,8 +10,8 @@ declare(strict_types=1);
namespace OC\Core\Controller;
+use OC\Core\ResponseDefinitions;
use OC\Files\AppData\AppData;
-use OCA\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\AnonRateLimit;
use OCP\AppFramework\Http\Attribute\ApiRoute;
diff --git a/core/Controller/UnifiedSearchController.php b/core/Controller/UnifiedSearchController.php
index 24e289826d9..236ca845da6 100644
--- a/core/Controller/UnifiedSearchController.php
+++ b/core/Controller/UnifiedSearchController.php
@@ -9,10 +9,10 @@ declare(strict_types=1);
namespace OC\Core\Controller;
use InvalidArgumentException;
+use OC\Core\ResponseDefinitions;
use OC\Search\SearchComposer;
use OC\Search\SearchQuery;
use OC\Search\UnsupportedFilter;
-use OCA\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;