FIX: Update Page/Page_Controller statics to match new 3.1 expectations.

This commit is contained in:
Sam Minnee 2013-03-25 14:38:58 +13:00
parent bac9e2fc00
commit fbb4d1c42b

View File

@ -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');
}
}
}