Skip to content

Commit

Permalink
Rename “Server settings” to “Basic settings”
Browse files Browse the repository at this point in the history
* fixes #4587

Signed-off-by: Marius Blüm <marius@lineone.io>
  • Loading branch information
MariusBluem committed Apr 29, 2017
1 parent fabaf09 commit f26764c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/private/Settings/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ private function query($className) {
public function getAdminSections() {
// built-in sections
$sections = [
0 => [new Section('server', $this->l->t('Server settings'), 0, $this->url->imagePath('settings', 'admin.svg'))],
0 => [new Section('server', $this->l->t('Basic settings'), 0, $this->url->imagePath('settings', 'admin.svg'))],
5 => [new Section('sharing', $this->l->t('Sharing'), 0, $this->url->imagePath('core', 'actions/share.svg'))],
10 => [new Section('security', $this->l->t('Security'), 0, $this->url->imagePath('core', 'actions/password.svg'))],
45 => [new Section('encryption', $this->l->t('Encryption'), 0, $this->url->imagePath('core', 'actions/password.svg'))],
Expand Down
4 changes: 2 additions & 2 deletions tests/lib/Settings/ManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function testGetAdminSections() {
]);

$this->assertEquals([
0 => [new Section('server', 'Server settings', 0, '1')],
0 => [new Section('server', 'Basic settings', 0, '1')],
5 => [new Section('sharing', 'Sharing', 0, '2')],
10 => [new Section('security', 'Security', 0, '3')],
45 => [new Section('encryption', 'Encryption', 0, '3')],
Expand Down Expand Up @@ -189,7 +189,7 @@ public function testGetAdminSectionsEmptySection() {
]);

$this->assertEquals([
0 => [new Section('server', 'Server settings', 0, '1')],
0 => [new Section('server', 'Basic settings', 0, '1')],
5 => [new Section('sharing', 'Sharing', 0, '2')],
10 => [new Section('security', 'Security', 0, '3')],
45 => [new Section('encryption', 'Encryption', 0, '3')],
Expand Down

0 comments on commit f26764c

Please sign in to comment.