ckan/ckan — pull request #1936 by amercader (2014-09-18 16:35:31+00:00)
Title: Stats plugin should only show active datasets

There are a number of metrics displayed that don't take into account if the dataset is private or deleted. The stats plugin code is heavily unmaintained, but it should be all right to plug the main leaks.