Browse files

Revert "FIX: updateCMSFields not accepting var by reference"

This reverts commit e56a78b.
  • Loading branch information...
1 parent 97fbfd3 commit a0e965b7b4d2dd29e6628d5444423a755ba89e71 @chillu chillu committed Feb 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/model/SiteTreeFileExtension.php
View
2 code/model/SiteTreeFileExtension.php
@@ -9,7 +9,7 @@ class SiteTreeFileExtension extends DataExtension {
'BackLinkTracking' => 'SiteTree'
);
- public function updateCMSFields(FieldList &$fields) {
+ public function updateCMSFields(FieldList $fields) {
$fields->insertAfter(new ReadonlyField('BackLinkCount',
_t('AssetTableField.BACKLINKCOUNT', 'Used on:'),
$this->BackLinkTracking()->Count() . ' ' . _t('AssetTableField.PAGES', 'page(s)')),

0 comments on commit a0e965b

Please sign in to comment.