mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
Move config into YAML files.
This commit is contained in:
parent
42eb657920
commit
1b3882bcb5
10
_config.php
10
_config.php
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
Object::add_extension('SiteTree', 'SiteTreeContentReview');
|
||||
|
||||
|
||||
if(class_exists('Subsite') && class_exists('SubsiteReportWrapper')){
|
||||
SS_Report::register('ReportAdmin', 'SubsiteReportWrapper("PagesDueForReviewReport")',20);
|
||||
} else {
|
||||
SS_Report::register('ReportAdmin', 'PagesDueForReviewReport',20);
|
||||
}
|
3
_config/config.yml
Normal file
3
_config/config.yml
Normal file
@ -0,0 +1,3 @@
|
||||
SiteTree:
|
||||
extensions:
|
||||
- SiteTreeContentReview
|
Loading…
Reference in New Issue
Block a user