Permalink
Browse files

Merge pull request #16 from tractorcow/3.1-static-update

API 3.1 compatibility: Static configurable properties must be private and immutable.
  • Loading branch information...
Julian Seidenberg
Julian Seidenberg committed May 12, 2013
2 parents 72ca292 + b6d8e82 commit e833f22794b3eae040eead5e2ebc0c895c4df81d
Showing with 5 additions and 5 deletions.
  1. +1 −1 code/GoogleAnalyzer.php
  2. +1 −1 code/GoogleCachedQuery.php
  3. +1 −1 code/GoogleConfig.php
  4. +2 −2 code/GoogleLogEvent.php
View
@@ -12,7 +12,7 @@ class GoogleAnalyzer extends DataExtension {
public static $email;
public static $password;
static $has_many = array(
private static $has_many = array(
'Events' => 'GoogleLogEvent',
);
@@ -2,7 +2,7 @@
class GoogleCachedQuery extends DataObject {
static $db = array(
private static $db = array(
'Hash' => 'Varchar(255)',
'Data' => 'Text',
);
View
@@ -5,7 +5,7 @@
*/
class GoogleConfig extends DataExtension {
static $db = array(
private static $db = array(
'GoogleAnalyticsCode' => 'Varchar',
'GoogleAnalyticsProfileId' => 'Varchar(255)',
'GoogleAnalyticsEmail' => 'Varchar',
View
@@ -2,12 +2,12 @@
class GoogleLogEvent extends DataObject {
static $db = array(
private static $db = array(
'Title' => 'Varchar',
'Description' => 'Text',
);
static $has_one = array(
private static $has_one = array(
'Page' => 'SiteTree',
);
}

0 comments on commit e833f22

Please sign in to comment.