Skip to content

Commit

Permalink
Merge pull request #76 from creative-commoners/pulls/4/test-registry-…
Browse files Browse the repository at this point in the history
…classes-required

Amend TestRegistry* classes declaration
  • Loading branch information
emteknetnz authored Oct 12, 2020
2 parents c5191b5 + b529dc6 commit fd800a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions code/TestRegistryDataObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
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';
Expand Down
4 changes: 0 additions & 4 deletions code/TestRegistryPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
use SilverStripe\Security\DefaultAdminService;
use SilverStripe\Security\Member;

if (!class_exists(RegistryPage::class)) {
return;
}

class TestRegistryPage extends RegistryPage
{
public function requireDefaultRecords()
Expand Down

0 comments on commit fd800a3

Please sign in to comment.