silverstripe-contentreview/_config.php

11 lines
307 B
PHP
Raw Normal View History

2009-11-02 05:02:57 +01:00
<?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);
}