mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
FIX Class manifest was still seeing the files (#125)
This commit is contained in:
parent
936f286e09
commit
63c3550fbb
@ -6,10 +6,7 @@ use SilverStripe\ORM\DataObject;
|
||||
use SilverStripe\ORM\DB;
|
||||
use SilverStripe\Registry\RegistryDataInterface;
|
||||
|
||||
if (!interface_exists(RegistryDataInterface::class)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (interface_exists(RegistryDataInterface::class)) {
|
||||
class TestRegistryDataObject extends DataObject implements RegistryDataInterface
|
||||
{
|
||||
private static $table_name = 'TestRegistryDataObject';
|
||||
@ -872,3 +869,4 @@ class TestRegistryDataObject extends DataObject implements RegistryDataInterface
|
||||
DB::alteration_message('Added default records to DefaultRegistryDataObject table', 'created');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,9 +7,6 @@ use SilverStripe\Security\DefaultAdminService;
|
||||
use SilverStripe\Security\Member;
|
||||
|
||||
if (!class_exists(RegistryPage::class)) {
|
||||
return;
|
||||
}
|
||||
|
||||
class TestRegistryPage extends RegistryPage
|
||||
{
|
||||
public function requireDefaultRecords()
|
||||
@ -30,3 +27,4 @@ class TestRegistryPage extends RegistryPage
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user