Remove table prefix

This commit is contained in:
Damian Mooyman 2017-11-01 17:19:04 +13:00
parent c331dedae9
commit 0946332915
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A

View File

@ -27,8 +27,8 @@ class EmptyPagesReport extends Report
public function sourceRecords($params = null)
{
return SiteTree::get()
->exclude('SiteTree.ClassName', RedirectorPage::class)
->filter('SiteTree.Content', [null, '', '<p></p>', '<p>&nbsp;</p>'])
->exclude('ClassName', RedirectorPage::class)
->filter('Content', [null, '', '<p></p>', '<p>&nbsp;</p>'])
->sort('Title');
}