Merge pull request #507 from th-h/thh-506
Akismet has a POST API, not a GET API. :)
This commit is contained in:
commit
4046d811a7
@ -25,7 +25,7 @@ class serendipity_event_spamblock extends serendipity_event
|
||||
'smarty' => '2.6.7',
|
||||
'php' => '4.1.0'
|
||||
));
|
||||
$propbag->add('version', '1.86.2');
|
||||
$propbag->add('version', '1.86.3');
|
||||
$propbag->add('event_hooks', array(
|
||||
'frontend_saveComment' => true,
|
||||
'external_plugin' => true,
|
||||
@ -553,7 +553,7 @@ class serendipity_event_spamblock extends serendipity_event
|
||||
|
||||
$req = new HTTP_Request2(
|
||||
'http://' . $api_key . '.' . $server . '/1.1/' . $action,
|
||||
HTTP_Request2::METHOD_GET,
|
||||
HTTP_Request2::METHOD_POST,
|
||||
$opt
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user