Commit 9e585d8e authored by ARNHOE's avatar ARNHOE

Fixed deprecated extraStatics

parent f9b69b57
......@@ -4,13 +4,10 @@
*/
class NewsletterSiteConfig extends DataExtension{
function extraStatics($class = null, $extension = null) {
return array(
'db' => array(
"GlobalUnsubscribe" => "Boolean",
)
);
}
private static $db = array(
"GlobalUnsubscribe" => "Boolean"
);
public function updateCMSFields(FieldList $fields) {
$fields->addFieldToTab("Root",
......@@ -27,4 +24,4 @@ class NewsletterSiteConfig extends DataExtension{
$globalUnsubscribe->setDescription($globalUnsubscribeDescription);
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment