diff options
author | Patrick <patrick@westberliner.net> | 2022-10-22 12:27:29 +0300 |
---|---|---|
committer | Patrick <patrick@westberliner.net> | 2022-10-22 12:27:29 +0300 |
commit | 560380b77f4bddf9441f82693aab62cb9c65c06c (patch) | |
tree | a593583ff5f180eea972e88866e7ec8551e80218 | |
parent | d1a59005af654db499d9a071b9225127704b3542 (diff) |
Bump nextcloud version.v1.1.5
-rw-r--r-- | appinfo/info.xml | 4 | ||||
-rw-r--r-- | 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. </description> - <version>1.1.4</version> + <version>1.1.5</version> <licence>agpl</licence> <author>westberliner</author> <types> @@ -29,6 +29,6 @@ <screenshot>https://raw.githubusercontent.com/westberliner/checksum/master/screenshots/checksum.gif</screenshot> <dependencies> <php min-version="7.4" /> - <nextcloud min-version="20" max-version="24" /> + <nextcloud min-version="20" max-version="25" /> </dependencies> </info> 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; } |