mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
11 lines
307 B
PHP
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);
|
|
}
|