Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
e9f513d6
Unverified
Commit
e9f513d6
authored
3 years ago
by
Morris Jobke
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #26881 from nextcloud/backport/26869/stable21
[stable21] l10n: Spelling unification
parents
0975394b
ae99737d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/dav/lib/Connector/Sabre/MaintenancePlugin.php
+1
-1
1 addition, 1 deletion
apps/dav/lib/Connector/Sabre/MaintenancePlugin.php
apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php
+1
-1
1 addition, 1 deletion
.../dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php
with
2 additions
and
2 deletions
apps/dav/lib/Connector/Sabre/MaintenancePlugin.php
+
1
−
1
View file @
e9f513d6
...
...
@@ -82,7 +82,7 @@ class MaintenancePlugin extends ServerPlugin {
*/
public
function
checkMaintenanceMode
()
{
if
(
$this
->
config
->
getSystemValueBool
(
'maintenance'
))
{
throw
new
ServiceUnavailable
(
$this
->
l10n
->
t
(
'System in maintenance mode.'
));
throw
new
ServiceUnavailable
(
$this
->
l10n
->
t
(
'System
is
in maintenance mode.'
));
}
if
(
Util
::
needUpgrade
())
{
throw
new
ServiceUnavailable
(
$this
->
l10n
->
t
(
'Upgrade needed'
));
...
...
This diff is collapsed.
Click to expand it.
apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php
+
1
−
1
View file @
e9f513d6
...
...
@@ -55,7 +55,7 @@ class MaintenancePluginTest extends TestCase {
public
function
testMaintenanceMode
()
{
$this
->
expectException
(
\Sabre\DAV\Exception\ServiceUnavailable
::
class
);
$this
->
expectExceptionMessage
(
'System in maintenance mode.'
);
$this
->
expectExceptionMessage
(
'System
is
in maintenance mode.'
);
$this
->
config
->
expects
(
$this
->
exactly
(
1
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment