From 560380b77f4bddf9441f82693aab62cb9c65c06c Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 22 Oct 2022 11:27:29 +0200 Subject: Bump nextcloud version. --- appinfo/info.xml | 4 ++-- lib/Controller/ChecksumController.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 647f96c..94367fe 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -12,7 +12,7 @@ Select a algorithm and it will try to generate a hash. If you want an other algorithm, just click on the reload button. - 1.1.4 + 1.1.5 agpl westberliner @@ -29,6 +29,6 @@ https://raw.githubusercontent.com/westberliner/checksum/master/screenshots/checksum.gif - + 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; } -- cgit v1.2.3