mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Now that we have a management interface, it makes sense to save spam by default
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39820 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
683f9f6d11
commit
a4aad537c3
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
class SSAkismet extends Akismet {
|
class SSAkismet extends Akismet {
|
||||||
private static $apiKey;
|
private static $apiKey;
|
||||||
private static $saveSpam = false;
|
private static $saveSpam = true;
|
||||||
|
|
||||||
static function setAPIKey($key) {
|
static function setAPIKey($key) {
|
||||||
self::$apiKey = $key;
|
self::$apiKey = $key;
|
||||||
|
Loading…
Reference in New Issue
Block a user