Permalink
Browse files

BUG making extension compatible with strict standards

  • Loading branch information...
1 parent de8cc5c commit 7b5c47dd1c45bda08292356a8b9aa324042e6352 Julian Seidenberg committed Mar 20, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 code/HomepageForDomainExtension.php
@@ -6,7 +6,7 @@ class HomepageForDomainExtension extends DataExtension {
*/
public static $write_homepage_map = true;
- public function extraStatics() {
+ public function extraStatics($class = null, $extension = null) {
return array(
'db' => array(
"HomepageForDomain" => "Varchar(100)",
@@ -46,7 +46,7 @@ public function onAfterPublish() {
}
}
- public function updateFieldLabels($labels) {
+ public function updateFieldLabels(&$labels) {
$labels['HomepageForDomain'] = _t('SiteTree.HomepageForDomain', 'Hompage for this domain');
}

0 comments on commit 7b5c47d

Please sign in to comment.