| 1 | <?php |
||
| 6 | class AkismetProcessor implements RequestFilter |
||
|
|
|||
| 7 | { |
||
| 8 | public function postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model) |
||
| 11 | |||
| 12 | public function preRequest(SS_HTTPRequest $request, Session $session, DataModel $model) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Make sure the DB is ready before accessing siteconfig db field |
||
| 33 | * |
||
| 34 | * @return bool |
||
| 35 | */ |
||
| 36 | protected function isDBReady() |
||
| 58 | } |
||
| 59 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.