]> source.dussan.org Git - nextcloud-server.git/commit
Don't update value if it is already set to the same value
authorMorris Jobke <hey@morrisjobke.de>
Tue, 15 Nov 2016 21:14:27 +0000 (22:14 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 16 Nov 2016 17:52:49 +0000 (18:52 +0100)
commit2960b97fc728e9212c63f49cb46fa119853a4e26
tree07d363d3b5a93d22a9f60fc64eb58b03095228dc
parentcc8750ca30ba5d13ca59cc8c3ce87122a451829a
Don't update value if it is already set to the same value

* this PR makes sure to warm up the cache for that user
* then the logic within the "if is in cache" code can be used to reduce needed queries
* inspired by @andreas-p - https://github.com/nextcloud/server/pull/2128

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
lib/private/AllConfig.php