Amend TestRegistry* classes declaration

This commit is contained in:
Serge Latyntcev 2020-10-12 12:30:07 +13:00
parent c5191b5f78
commit b529dc6353
2 changed files with 0 additions and 8 deletions

View File

@ -6,10 +6,6 @@ use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\DB;
use SilverStripe\Registry\RegistryDataInterface;
if (!interface_exists(RegistryDataInterface::class)) {
return;
}
class TestRegistryDataObject extends DataObject implements RegistryDataInterface
{
private static $table_name = 'TestRegistryDataObject';

View File

@ -6,10 +6,6 @@ use SilverStripe\Registry\RegistryPage;
use SilverStripe\Security\DefaultAdminService;
use SilverStripe\Security\Member;
if (!class_exists(RegistryPage::class)) {
return;
}
class TestRegistryPage extends RegistryPage
{
public function requireDefaultRecords()