Skip to content

Commit d8b9672

Browse files
authored
Merge pull request #485 from nextcloud/stable10-reenable-help-section
[Stable10] reenable help section
2 parents db5a709 + ed21916 commit d8b9672

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

lib/private/legacy/app.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,7 @@ public static function getSettingsNavigation() {
421421

422422
$settings = array();
423423
// by default, settings only contain the help menu
424-
/*
425-
* FIXME: Add help sidebar back once documentation is properly branded.
426-
if (OC_Util::getEditionString() === '' &&
424+
if (OC_Util::getEditionString() === '' &&
427425
\OC::$server->getSystemConfig()->getValue('knowledgebaseenabled', true) == true
428426
) {
429427
$settings = array(
@@ -435,7 +433,7 @@ public static function getSettingsNavigation() {
435433
"icon" => $urlGenerator->imagePath("settings", "help.svg")
436434
)
437435
);
438-
}*/
436+
}
439437

440438
// if the user is logged-in
441439
if (OC_User::isLoggedIn()) {

settings/templates/help.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@
1616
<?php } ?>
1717

1818
<li>
19-
<a href="https://owncloud.org/support" target="_blank" rel="noreferrer">
19+
<a href="https://docs.nextcloud.org" target="_blank" rel="noreferrer">
2020
<?php p($l->t('Online documentation')); ?>
2121
</a>
2222
</li>
2323
<li>
24-
<a href="https://forum.owncloud.org" target="_blank" rel="noreferrer">
24+
<a href="https://help.nextcloud.com" target="_blank" rel="noreferrer">
2525
<?php p($l->t('Forum')); ?>
2626
</a>
2727
</li>
2828

2929
<?php if($_['admin']) { ?>
3030
<li>
31-
<a href="https://github.com/owncloud/core/blob/master/CONTRIBUTING.md"
31+
<a href="https://github.com/nextcloud/server/blob/master/CONTRIBUTING.md"
3232
target="_blank" rel="noreferrer">
3333
<?php p($l->t('Issue tracker')); ?>
3434
</a>
3535
</li>
3636
<?php } ?>
3737

3838
<li>
39-
<a href="https://owncloud.com/subscriptions/" target="_blank" rel="noreferrer">
39+
<a href="https://nextcloud.com/enterprise/" target="_blank" rel="noreferrer">
4040
<?php p($l->t('Commercial support')); ?>
4141
</a>
4242
</li>

0 commit comments

Comments
 (0)