Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-04-02 21:24:04 +0300
committerJulius Härtl <jus@bitgrid.net>2020-04-02 21:24:04 +0300
commit732da03d72fb2e20d4c9b666a5d2c0709213d011 (patch)
treefe2be2c26b9cc0d24d98f619ad1486e642bd74be /lib/Service/WorkspaceService.php
parent380e7a6d2a4ef5993e2da7431f99df6370b417e9 (diff)
Use full list of supported filenames when obtaining the name to create
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/Service/WorkspaceService.php')
-rw-r--r--lib/Service/WorkspaceService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/WorkspaceService.php b/lib/Service/WorkspaceService.php
index 14b4bef90..143d02631 100644
--- a/lib/Service/WorkspaceService.php
+++ b/lib/Service/WorkspaceService.php
@@ -37,7 +37,7 @@ class WorkspaceService {
return $file;
}
- private function getSupportedFilenames() {
+ public function getSupportedFilenames() {
return array_merge([
$this->l10n->t('Readme') . '.md'
], self::SUPPORTED_STATIC_FILENAMES);