Remove notices when clearing the cache.
Merge pull request #5174 from openscholar/5173

Remove notices when clearing the cache.