[FIX] Disable Stats when plugin disabled.
commitf9798f358287f738f874b97b506b33a3c57c2c61
authorMatthew Pugh <matthew.alexander.pugh@cern.ch>
Fri, 27 Apr 2012 12:48:06 +0000 (27 14:48 +0200)
committerJose Benito <jose.benito.gonzalez@cern.ch>
Fri, 27 Apr 2012 13:39:28 +0000 (27 15:39 +0200)
tree2eec870dd88d6240b0e090b7cbd9dcb7e1f82195
parentd71fd2fe50533f6b57481dbdcc2637072868e9f3
[FIX] Disable Stats when plugin disabled.

* Stats Register is now aware if any or no plugins are active.
* Only contributes to SideMenu when active implementations.
* No code injection on disactive plugins.
indico/ext/statistics/chrome.py
indico/ext/statistics/register.py