Skip to content

Commit

Permalink
BUG making extension compatible with strict standards
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Seidenberg committed Mar 20, 2013
1 parent de8cc5c commit 7b5c47d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/HomepageForDomainExtension.php
Expand Up @@ -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)",
Expand Down Expand Up @@ -46,7 +46,7 @@ public function onAfterPublish() {
}
}

public function updateFieldLabels($labels) {
public function updateFieldLabels(&$labels) {
$labels['HomepageForDomain'] = _t('SiteTree.HomepageForDomain', 'Hompage for this domain');
}

Expand Down

0 comments on commit 7b5c47d

Please sign in to comment.