mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 15:05:33 +00:00
FIX: Update Page/Page_Controller statics to match new 3.1 expectations.
This commit is contained in:
parent
bac9e2fc00
commit
fbb4d1c42b
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
class Page extends SiteTree {
|
||||
|
||||
public static $db = array(
|
||||
private static $db = array(
|
||||
);
|
||||
|
||||
public static $has_one = array(
|
||||
private static $has_one = array(
|
||||
);
|
||||
|
||||
}
|
||||
@ -25,7 +25,7 @@ class Page_Controller extends ContentController {
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public static $allowed_actions = array (
|
||||
private static $allowed_actions = array (
|
||||
);
|
||||
|
||||
public function init() {
|
||||
@ -40,4 +40,4 @@ class Page_Controller extends ContentController {
|
||||
Requirements::themedCSS('form');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user