1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 12:33:29 +01:00

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

View File

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

View File

@ -43,7 +43,7 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
);
}
}
/**
* @inheritdoc
*/
@ -103,7 +103,7 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
return true;
}
/**
* @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,
'AV_UPLOAD_SIZE' => $this->config['avatar_filesize'],
));
return true;
}