owncloud/core — pull request #4918 by andrewsbrown (2013-09-19 21:53:38+00:00)
Title: Fixes issue #4903 where search results returned deleted files, old versions, etc.

Only modifies OC\Files\Cache\Cache; I don't know if this same fix is required anywhere else. I don't think so because all file information is pulled from the OC_FILECACHE table, but could someone confirm? @butonic?