Merge pull request #75 from heffaklump90/master

Ensure that comment module does not overwrite users config with the stan...
This commit is contained in:
Will Rossiter 2013-10-25 19:12:41 -07:00
commit c3d6d08348

View File

@ -26,6 +26,6 @@
* consult the Commenting class.
*/
if(class_exists('SiteTree')) {
if(class_exists('SiteTree') && !Commenting::has_commenting('SiteTree')) {
Commenting::add('SiteTree');
}