owncloud/core — pull request #36 by scambra (2012-10-16 15:36:04+00:00)
Title: delete fscache on deleting user

When a user is deleted, share table is cleaned deleting files or folders shared with that user or shared by that user, but fscache is not cleaned.

Maybe files should be deleted too, but I'm not sure. Although if you create a new user with same name, it will get files from previous user, and that isn't good.