FIX Use interface_exists

This commit is contained in:
Steve Boyd 2022-09-16 14:07:48 +12:00
parent 7b9778253f
commit 132a68424e

View File

@ -6,7 +6,7 @@ use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\DB;
use SilverStripe\Registry\RegistryDataInterface;
if (!class_exists(RegistryDataInterface::class)) {
if (!interface_exists(RegistryDataInterface::class)) {
return;
}