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