| 1 | <?php namespace StudioBonito\SilverStripe\GoogleAnalytics\Extensions; |
||
| 12 | class GoogleAnalyticsSiteConfigExtension extends \DataExtension |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * List of database fields. {@link DataObject::$db} |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | private static $db = array( |
||
|
|
|||
| 20 | 'GoogleAnalyticsTrackingID' => 'Varchar(16)', |
||
| 21 | ); |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Update list of fields in SiteConfig. Adds all fields inside `Services` parent tab. |
||
| 25 | * |
||
| 26 | * @param FieldList $fields |
||
| 27 | */ |
||
| 28 | 3 | public function updateCMSFields(FieldList $fields) |
|
| 42 | } |
This check marks private properties in classes that are never used. Those properties can be removed.