aboutsummaryrefslogtreecommitdiffstats
path: root/tests/avatar/driver/foobar.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-01-07 22:49:48 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-01-07 23:02:07 +0100
commit023d7a972dd5c279e0b0b24801f9e53e7865d39a (patch)
tree441a940978d677ff310b951f664043ddb7726462 /tests/avatar/driver/foobar.php
parent8867cb60b1f7074c9f83c0403e5259148da65204 (diff)
downloadforums-023d7a972dd5c279e0b0b24801f9e53e7865d39a.tar
forums-023d7a972dd5c279e0b0b24801f9e53e7865d39a.tar.gz
forums-023d7a972dd5c279e0b0b24801f9e53e7865d39a.tar.bz2
forums-023d7a972dd5c279e0b0b24801f9e53e7865d39a.tar.xz
forums-023d7a972dd5c279e0b0b24801f9e53e7865d39a.zip
[feature/avatars] Remove $request property and pass as argument if needed
Remove the $request property from the phpbb_avatar_driver class and rather pass it as function argument if it's needed in a function. Currently this is only the case for the class methods prepare_form() and process_form(). PHPBB3-10018
Diffstat (limited to 'tests/avatar/driver/foobar.php')
-rw-r--r--tests/avatar/driver/foobar.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/avatar/driver/foobar.php b/tests/avatar/driver/foobar.php
index fd4e452818..a68d0aa6c6 100644
--- a/tests/avatar/driver/foobar.php
+++ b/tests/avatar/driver/foobar.php
@@ -7,13 +7,13 @@ class phpbb_avatar_driver_foobar extends phpbb_avatar_driver
return array();
}
- public function prepare_form($template, $row, &$error)
+ public function prepare_form($request, $template, $row, &$error)
{
return false;
}
- public function process_form($template, $row, &$error)
+ public function process_form($request, $template, $row, &$error)
{
return false;
}
-} \ No newline at end of file
+}