mirror of
https://github.com/silverstripe/silverstripe-versionfeed
synced 2024-10-22 11:05:31 +02:00
Fixed static visibility
This commit is contained in:
parent
01e1136311
commit
27bd513938
@ -1,11 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class VersionFeed extends SiteTreeExtension {
|
class VersionFeed extends SiteTreeExtension {
|
||||||
static $db = array(
|
|
||||||
|
private static $db = array(
|
||||||
'PublicHistory' => 'Boolean'
|
'PublicHistory' => 'Boolean'
|
||||||
);
|
);
|
||||||
|
|
||||||
static $defaults = array(
|
private static $defaults = array(
|
||||||
'PublicHistory' => true
|
'PublicHistory' => true
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
class VersionFeed_Controller extends Extension {
|
class VersionFeed_Controller extends Extension {
|
||||||
|
|
||||||
static $allowed_actions = array(
|
private static $allowed_actions = array(
|
||||||
'changes',
|
'changes',
|
||||||
'allchanges'
|
'allchanges'
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user