FIX: 3.1 extension API updates

This commit is contained in:
Will Rossiter 2013-04-05 21:11:43 +13:00
parent 823efc3483
commit a97e278fd0
2 changed files with 3 additions and 4 deletions

View File

@ -14,5 +14,5 @@ if(class_exists('Comment')) {
* If the comments module is installed then add the spam protection module
* to the comments form via this extension
*/
Object::add_extension('CommentingController', 'CommentSpamProtection');
CommentingController::add_extension('CommentSpamProtection');
}

View File

@ -9,9 +9,8 @@
}, {
"name": "Will Rossiter",
"email": "will@fullscreen.io"
}
],
}],
"require": {
"silverstripe/framework": "3.*"
"silverstripe/framework": "3.1.*"
}
}