diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index bd713cab2013a..b0a1b5a49dbf7 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -92,7 +92,6 @@ public function viewApps(): TemplateResponse { $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())); if ($this->appManager->isEnabledForAnyone('app_api')) { diff --git a/apps/settings/src/views/AppStoreNavigation.vue b/apps/settings/src/views/AppStoreNavigation.vue index 83191baac40bb..6cac690bb2d0d 100644 --- a/apps/settings/src/views/AppStoreNavigation.vue +++ b/apps/settings/src/views/AppStoreNavigation.vue @@ -115,7 +115,6 @@ import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon' 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 392bb7b561d17..dfd3628eb386d 100644 --- a/apps/settings/tests/Controller/AppSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AppSettingsControllerTest.php @@ -171,7 +171,7 @@ public function testViewApps(): void { ->with('core_apps'); $this->initialState - ->expects($this->exactly(4)) + ->expects($this->exactly(3)) ->method('provideInitialState'); $policy = new ContentSecurityPolicy(); @@ -204,7 +204,7 @@ public function testViewAppsAppstoreNotEnabled(): void { ->with('core_apps'); $this->initialState - ->expects($this->exactly(4)) + ->expects($this->exactly(3)) ->method('provideInitialState'); $policy = new ContentSecurityPolicy();