From 21ca42631de8bca70522514cb423dfde1d31fbb8 Mon Sep 17 00:00:00 2001 From: Arsalan Ul Haq Sohni Date: Tue, 2 Dec 2025 11:49:30 +0100 Subject: [PATCH] docs: remove developer documentation link Signed-off-by: Arsalan Ul Haq Sohni --- apps/settings/lib/Controller/AppSettingsController.php | 1 - apps/settings/src/views/AppStoreNavigation.vue | 4 ---- apps/settings/tests/Controller/AppSettingsControllerTest.php | 4 ++-- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index 3a6bd9d9284..5818f44c1b1 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -92,7 +92,6 @@ class AppSettingsController extends Controller { $this->initialState->provideInitialState('appstoreEnabled', $this->config->getSystemValueBool('appstoreenabled', true)); $this->initialState->provideInitialState('appstoreBundles', $this->getBundles()); - $this->initialState->provideInitialState('appstoreDeveloperDocs', $this->urlGenerator->linkToDocs('developer-manual')); $this->initialState->provideInitialState('appstoreUpdateCount', count($this->getAppsWithUpdates())); $groups = array_map(static fn (IGroup $group): array => [ diff --git a/apps/settings/src/views/AppStoreNavigation.vue b/apps/settings/src/views/AppStoreNavigation.vue index a35cd94da95..4d8a2b3e48c 100644 --- a/apps/settings/src/views/AppStoreNavigation.vue +++ b/apps/settings/src/views/AppStoreNavigation.vue @@ -91,9 +91,6 @@ - @@ -115,7 +112,6 @@ import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' import APPSTORE_CATEGORY_ICONS from '../constants/AppstoreCategoryIcons.ts' const appstoreEnabled = loadState('settings', 'appstoreEnabled', true) -const developerDocsUrl = loadState('settings', 'appstoreDeveloperDocs', '') const store = useAppsStore() const categories = computed(() => store.categories) diff --git a/apps/settings/tests/Controller/AppSettingsControllerTest.php b/apps/settings/tests/Controller/AppSettingsControllerTest.php index bf492ce8aba..8350c030988 100644 --- a/apps/settings/tests/Controller/AppSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AppSettingsControllerTest.php @@ -200,7 +200,7 @@ class AppSettingsControllerTest extends TestCase { ]); $this->initialState - ->expects($this->exactly(5)) + ->expects($this->exactly(4)) ->method('provideInitialState'); $policy = new ContentSecurityPolicy(); @@ -240,7 +240,7 @@ class AppSettingsControllerTest extends TestCase { ]); $this->initialState - ->expects($this->exactly(5)) + ->expects($this->exactly(4)) ->method('provideInitialState'); $policy = new ContentSecurityPolicy();