silverstripe-gridfield-betterbuttons icon indicating copy to clipboard operation
silverstripe-gridfield-betterbuttons copied to clipboard

Update GridFieldBetterButtonsItemRequest.php

Open mr-macedawg opened this issue 7 years ago • 1 comments

SilverStripe\ORM\Versioning\Versioned has moved to SilverStripe\Versioned\Versioned. DataModel has been removed from SS4.

mr-macedawg avatar Nov 30 '17 10:11 mr-macedawg

Looking for solution myself that fixes this long-term. However, I just found the lines that reference DataModel and changed out DataModel::inst() for DataObject::class and appears to run fine.

Will need to test this further for anything that would make this fail.

moses-everette avatar Oct 10 '18 19:10 moses-everette