mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-10-22 14:05:59 +02:00
FIX: 3.1 extension API updates
This commit is contained in:
parent
823efc3483
commit
a97e278fd0
@ -14,5 +14,5 @@ if(class_exists('Comment')) {
|
|||||||
* If the comments module is installed then add the spam protection module
|
* If the comments module is installed then add the spam protection module
|
||||||
* to the comments form via this extension
|
* to the comments form via this extension
|
||||||
*/
|
*/
|
||||||
Object::add_extension('CommentingController', 'CommentSpamProtection');
|
CommentingController::add_extension('CommentSpamProtection');
|
||||||
}
|
}
|
@ -9,9 +9,8 @@
|
|||||||
}, {
|
}, {
|
||||||
"name": "Will Rossiter",
|
"name": "Will Rossiter",
|
||||||
"email": "will@fullscreen.io"
|
"email": "will@fullscreen.io"
|
||||||
}
|
}],
|
||||||
],
|
|
||||||
"require": {
|
"require": {
|
||||||
"silverstripe/framework": "3.*"
|
"silverstripe/framework": "3.1.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user