diff --git a/_config.php b/_config.php index febd562..07d962b 100644 --- a/_config.php +++ b/_config.php @@ -8,4 +8,7 @@ * * @package spamprotection */ -Deprecation::notification_version('1.1', 'spamprotection'); + +use SilverStripe\Dev\Deprecation; + +Deprecation::notification_version('3.0', 'spamprotection'); diff --git a/_config/spamprotection.yml b/_config/spamprotection.yml index 8c755d1..b48c4bb 100644 --- a/_config/spamprotection.yml +++ b/_config/spamprotection.yml @@ -1,6 +1,6 @@ --- name: spamprotection --- -Form: +SilverStripe\Forms\Form: extensions: - - FormSpamProtectionExtension \ No newline at end of file + - SilverStripe\Spamprotection\FormSpamProtectionExtension \ No newline at end of file diff --git a/code/EditableSpamProtectionField.php b/code/EditableSpamProtectionField.php index 8993f28..34a4b9f 100644 --- a/code/EditableSpamProtectionField.php +++ b/code/EditableSpamProtectionField.php @@ -1,4 +1,5 @@