bug 2917 fixed: invalidate user cache each time pwg.images.delete is called,
to avoid blocking errors on gallery side if deleted photo is set as album
thumbnail.


git-svn-id: http://piwigo.org/svn/branches/2.5@23059 68402e56-0260-453c-a942-63ccdbb3a9ee