Move config into YAML files.

This commit is contained in:
Andrew Short 2013-09-23 15:55:21 +10:00
parent 42eb657920
commit 1b3882bcb5
2 changed files with 3 additions and 10 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
SiteTree:
extensions:
- SiteTreeContentReview