From 683d44c98bc285ba2da14a240dac320601d5100f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=81ojewski?= Date: Sun, 2 Feb 2020 19:25:43 +0100 Subject: [PATCH] issue#120 issue#126 issue#130 - 'Object of class Closure could not be converted to string' --- CHANGELOG.md | 5 +++++ appinfo/info.xml | 2 +- lib/Backend/UserBackend.php | 9 ++++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13ce920..127ab4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [4.4.1] - 2020-02-02 +### Fixed +- Issue generating 'Object of class Closure could not be converted to string' log message + ## [4.4.0] - 2019-10-09 ### Added - Users can confirm passwords @@ -134,6 +138,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed - Supported version of ownCloud, Nextcloud: ownCloud 10, Nextcloud 12 +[4.4.1]: https://github.com/nextcloud/user_sql/compare/v4.4.0...v4.4.1 [4.4.0]: https://github.com/nextcloud/user_sql/compare/v4.3.0...v4.4.0 [4.3.0]: https://github.com/nextcloud/user_sql/compare/v4.2.1...v4.3.0 [4.2.1]: https://github.com/nextcloud/user_sql/compare/v4.2.0...v4.2.1 diff --git a/appinfo/info.xml b/appinfo/info.xml index 2b9e4b0..c8420b8 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -8,7 +8,7 @@ Retrieve the users and groups info. Allow the users to change their passwords. Sync the users' email addresses with the addresses stored by Nextcloud. - 4.4.0 + 4.4.1 agpl Marcin Łojewski Andreas Böhler diff --git a/lib/Backend/UserBackend.php b/lib/Backend/UserBackend.php index 22dc213..a97e095 100644 --- a/lib/Backend/UserBackend.php +++ b/lib/Backend/UserBackend.php @@ -437,11 +437,10 @@ final class UserBackend extends ABackend implements /** * @inheritdoc */ - public function getUsers( - $search = "", $limit = null, $offset = null, $callback = null - ) { + public function getUsers($search = "", $limit = null, $offset = null, $callback = null) + { $this->logger->debug( - "Entering getUsers($search, $limit, $offset, $callback)", + "Entering getUsers($search, $limit, $offset)", ["app" => $this->appName] ); @@ -478,7 +477,7 @@ final class UserBackend extends ABackend implements $this->cache->set($cacheKey, $users); $this->logger->debug( - "Returning getUsers($search, $limit, $offset, $callback): count(" + "Returning getUsers($search, $limit, $offset): count(" . count( $users ) . ")", ["app" => $this->appName]