1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/avatars] Use protected instead of private

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-11-19 23:50:34 +01:00
parent 8d0c667dce
commit 858c59279c
4 changed files with 12 additions and 12 deletions

View File

@@ -143,7 +143,7 @@ class phpbb_avatar_driver_upload extends phpbb_avatar_driver
*
* @return bool True if user can upload, false if not
*/
private function can_upload()
protected function can_upload()
{
return (file_exists($this->phpbb_root_path . $this->config['avatar_path']) && phpbb_is_writable($this->phpbb_root_path . $this->config['avatar_path']) && (@ini_get('file_uploads') || strtolower(@ini_get('file_uploads')) == 'on'));
}