owncloud/core — pull request #3794 by guruz (2013-06-20 08:57:34+00:00)
Title: Sharing db call reorder

At a customer, we saw the SQL query log full of ```SELECT `configvalue` FROM `oc_appconfig` WHERE `appid` = 'files_sharing' AND `configkey` = 'enabled'``` (several times in a row, probably for each file in a directory)