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:
19
tests/avatar/driver/foobar.php
Normal file
19
tests/avatar/driver/foobar.php
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user