mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 09:06:02 +00:00
FIX Use interface_exists
This commit is contained in:
parent
7b9778253f
commit
132a68424e
@ -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…
x
Reference in New Issue
Block a user