1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/avatars] Do not use gravatar avatar in tests

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-12-02 01:19:10 +01:00
parent d771453b52
commit 232fa5b588
2 changed files with 35 additions and 33 deletions

View File

@@ -0,0 +1,19 @@
<?php
class phpbb_avatar_driver_foobar extends phpbb_avatar_driver implements phpbb_avatar_driver_interface
{
public function get_data($row)
{
return array();
}
public function prepare_form($template, $row, &$error)
{
return false;
}
public function process_form($template, $row, &$error)
{
return false;
}
}