mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Merge pull request #124 from creative-commoners/pulls/1/interface-exists
FIX Use interface_exists
This commit is contained in:
commit
936f286e09
@ -6,7 +6,7 @@ use SilverStripe\ORM\DataObject;
|
|||||||
use SilverStripe\ORM\DB;
|
use SilverStripe\ORM\DB;
|
||||||
use SilverStripe\Registry\RegistryDataInterface;
|
use SilverStripe\Registry\RegistryDataInterface;
|
||||||
|
|
||||||
if (!class_exists(RegistryDataInterface::class)) {
|
if (!interface_exists(RegistryDataInterface::class)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user