silverstripe-contentreview/_config.php
2010-03-01 21:17:11 +00:00

11 lines
307 B
PHP

<?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);
}