mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Merge pull request #75 from heffaklump90/master
Ensure that comment module does not overwrite users config with the stan...
This commit is contained in:
commit
c3d6d08348
@ -26,6 +26,6 @@
|
||||
* consult the Commenting class.
|
||||
*/
|
||||
|
||||
if(class_exists('SiteTree')) {
|
||||
if(class_exists('SiteTree') && !Commenting::has_commenting('SiteTree')) {
|
||||
Commenting::add('SiteTree');
|
||||
}
|
Loading…
Reference in New Issue
Block a user