[feature/avatars] Remove unneeded argument for driver prepare_form()

PHPBB3-10018
This commit is contained in:
Igor Wiedler 2012-06-27 16:59:06 +02:00
parent 6d994380d7
commit d104866992
4 changed files with 7 additions and 7 deletions

View file

@ -38,13 +38,13 @@ abstract class phpbb_avatar_driver implements phpbb_avatar_driver_interface
* @type string * @type string
*/ */
protected $phpbb_root_path; protected $phpbb_root_path;
/** /**
* Current $phpEx * Current $phpEx
* @type string * @type string
*/ */
protected $phpEx; protected $phpEx;
/** /**
* A cache driver * A cache driver
* @type phpbb_cache_driver_interface * @type phpbb_cache_driver_interface
@ -99,7 +99,7 @@ abstract class phpbb_avatar_driver implements phpbb_avatar_driver_interface
/** /**
* @inheritdoc * @inheritdoc
**/ **/
public function prepare_form($template, $row, &$error, &$override_focus) public function prepare_form($template, $row, &$error)
{ {
return false; return false;
} }

View file

@ -46,7 +46,7 @@ interface phpbb_avatar_driver_interface
/** /**
* @TODO * @TODO
**/ **/
public function prepare_form($template, $row, &$error, &$override_focus); public function prepare_form($template, $row, &$error);
/** /**
* @TODO * @TODO

View file

@ -43,7 +43,7 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
); );
} }
} }
/** /**
* @inheritdoc * @inheritdoc
*/ */
@ -103,7 +103,7 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
return true; return true;
} }
/** /**
* @inheritdoc * @inheritdoc
*/ */

View file

@ -58,7 +58,7 @@ class phpbb_avatar_driver_upload extends phpbb_avatar_driver
'S_UPLOAD_AVATAR_URL' => ($this->config['allow_avatar_remote_upload']) ? true : false, 'S_UPLOAD_AVATAR_URL' => ($this->config['allow_avatar_remote_upload']) ? true : false,
'AV_UPLOAD_SIZE' => $this->config['avatar_filesize'], 'AV_UPLOAD_SIZE' => $this->config['avatar_filesize'],
)); ));
return true; return true;
} }