BUG Fixed declaration of Versioned::updateCMSFields to be compatible with DataExtension::updateCMSFields

This commit is contained in:
Damian Mooyman 2013-05-22 08:08:11 +12:00
parent 9bda0b7c54
commit 734a5fb469

View File

@ -1316,7 +1316,7 @@ class Versioned extends DataExtension {
/**
* @param FieldList
*/
public function updateCMSFields(&$fields) {
public function updateCMSFields(FieldList $fields) {
// remove the version field from the CMS as this should be left
// entirely up to the extension (not the cms user).
$fields->removeByName('Version');