summaryrefslogtreecommitdiffstats
path: root/lib/Controller/NavigationController.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/NavigationController.php')
-rw-r--r--lib/Controller/NavigationController.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/Controller/NavigationController.php b/lib/Controller/NavigationController.php
index de22a4f1..918684ff 100644
--- a/lib/Controller/NavigationController.php
+++ b/lib/Controller/NavigationController.php
@@ -46,7 +46,6 @@ use OCA\Social\Service\ConfigService;
use OCA\Social\Service\DocumentService;
use OCA\Social\Service\MiscService;
use OCP\AppFramework\Controller;
-use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\Http\FileDisplayResponse;
use OCP\AppFramework\Http\Response;
use OCP\AppFramework\Http\TemplateResponse;
@@ -232,31 +231,6 @@ class NavigationController extends Controller {
return $url;
}
- /**
- * Display the navigation page of the Social app.
- *
- * @NoCSRFRequired
- * @PublicPage
- *
- * @return DataResponse
- */
- public function test(): DataResponse {
-
- $setup = false;
- try {
- $this->configService->getCloudUrl();
- $setup = true;
- } catch (SocialAppConfigException $e) {
- }
-
- return $this->success(
- [
- 'version' => $this->configService->getAppValue('installed_version'),
- 'setup' => $setup
- ]
- );
- }
-
/**
* Display the navigation page of the Social app.