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:
Andrew O'Neil 2007-08-10 02:14:56 +00:00
parent 683f9f6d11
commit a4aad537c3

View File

@ -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;