mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-13 13:16:36 +02:00
[feature/avatars] Remove unneeded argument for driver prepare_form()
PHPBB3-10018
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user