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

github.com/westberliner/checksum.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick <patrick@westberliner.net>2022-10-22 12:27:29 +0300
committerPatrick <patrick@westberliner.net>2022-10-22 12:27:29 +0300
commit560380b77f4bddf9441f82693aab62cb9c65c06c (patch)
treea593583ff5f180eea972e88866e7ec8551e80218 /lib
parentd1a59005af654db499d9a071b9225127704b3542 (diff)
Bump nextcloud version.v1.1.5
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/ChecksumController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Controller/ChecksumController.php b/lib/Controller/ChecksumController.php
index 6a5cd92..527677e 100644
--- a/lib/Controller/ChecksumController.php
+++ b/lib/Controller/ChecksumController.php
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace OCA\Checksum\Controller;
use OC\User\NoUserException;
+use OCA\Checksum\AppInfo\Application;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\JSONResponse;
use OCP\Files\FileInfo;
@@ -51,7 +52,7 @@ class ChecksumController extends Controller {
) {
parent::__construct($appName, $request);
- $this->language = $languageFactory->get('checksum');
+ $this->language = $languageFactory->get(Application::APP_ID);
$this->rootFolder = $rootFolder;
$this->userSession = $userSession;
}