Permalink
Browse files

BUG Fixed declaration of Versioned::updateCMSFields to be compatible …

…with DataExtension::updateCMSFields
  • Loading branch information...
1 parent 9bda0b7 commit 734a5fb4694bca8f00dab3fa66687929c72f6132 @tractorcow tractorcow committed May 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 model/Versioned.php
View
@@ -1316,7 +1316,7 @@ public function updateFieldLabels(&$labels) {
/**
* @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');

0 comments on commit 734a5fb

Please sign in to comment.