Skip to content

Commit 302a366

Browse files
committed
docs: remove developer documentation link
Signed-off-by: Arsalan Ul Haq Sohni <arsalan-ul-haq.sohni@strato.de>
1 parent 9f7d4d0 commit 302a366

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

apps/settings/lib/Controller/AppSettingsController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ public function viewApps(): TemplateResponse {
9292

9393
$this->initialState->provideInitialState('appstoreEnabled', $this->config->getSystemValueBool('appstoreenabled', true));
9494
$this->initialState->provideInitialState('appstoreBundles', $this->getBundles());
95-
$this->initialState->provideInitialState('appstoreDeveloperDocs', $this->urlGenerator->linkToDocs('developer-manual'));
9695
$this->initialState->provideInitialState('appstoreUpdateCount', count($this->getAppsWithUpdates()));
9796

9897
if ($this->appManager->isEnabledForAnyone('app_api')) {

apps/settings/src/views/AppStoreNavigation.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@
100100
</NcAppNavigationItem>
101101
</template>
102102

103-
<NcAppNavigationItem
104-
id="app-developer-docs"
105-
:name="t('settings', 'Developer documentation ↗')"
106-
:href="developerDocsUrl" />
107103
</template>
108104
</NcAppNavigation>
109105
</template>
@@ -123,7 +119,6 @@ import APPSTORE_CATEGORY_ICONS from '../constants/AppstoreCategoryIcons.ts'
123119
import { useAppsStore } from '../store/apps-store.ts'
124120
125121
const appstoreEnabled = loadState<boolean>('settings', 'appstoreEnabled', true)
126-
const developerDocsUrl = loadState<string>('settings', 'appstoreDeveloperDocs', '')
127122
128123
const store = useAppsStore()
129124
const categories = computed(() => store.categories)

apps/settings/tests/Controller/AppSettingsControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function testViewApps(): void {
170170
->with('core_apps');
171171

172172
$this->initialState
173-
->expects($this->exactly(4))
173+
->expects($this->exactly(3))
174174
->method('provideInitialState');
175175

176176
$policy = new ContentSecurityPolicy();
@@ -203,7 +203,7 @@ public function testViewAppsAppstoreNotEnabled(): void {
203203
->with('core_apps');
204204

205205
$this->initialState
206-
->expects($this->exactly(4))
206+
->expects($this->exactly(3))
207207
->method('provideInitialState');
208208

209209
$policy = new ContentSecurityPolicy();

0 commit comments

Comments
 (0)