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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/ChecksumController.php')
-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;
}