Wildcard rules have been disallowed in 3.1

This commit is contained in:
Will Rossiter 2013-03-05 22:04:15 +13:00
parent 3a4a1dd4b4
commit 172f74f980

View File

@ -259,10 +259,6 @@ class CommentableItem extends DataObject implements TestOnly {
*/ */
class CommentableItem_Controller extends Controller implements TestOnly { class CommentableItem_Controller extends Controller implements TestOnly {
public static $allowed_actions = array(
"*" => true
);
public function index() { public function index() {
return CommentableItem::get()->first()->CommentsForm(); return CommentableItem::get()->first()->CommentsForm();
} }