owncloud/core — pull request #6849 by icewind1991 (2014-01-20 14:23:40+00:00)
Title: Reuse the data retrieved from the cache in checkUpdate

`Watcher->checkUpdate` already fetches the cached fileinfo from the database, if the file hasn't changed this data can be reused instead of re-reading it from the database 2 lines later.

Saves 1 database call for every call to `View->getFileInfo`

cc @DeepDiver1975 @karlitschek @PVince81