Skip to content

Commit 1cffd36

Browse files
committed
Document removed deprecated functions for PHPBB-12479
1 parent 88a445b commit 1cffd36

File tree

1 file changed

+166
-0
lines changed
  • development/development/upgrade

1 file changed

+166
-0
lines changed

development/development/upgrade/400.rst

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,87 +54,253 @@ Also have a look at the `phpBB API documentation <https://area51.phpbb.com/docs/
5454
- Type of change
5555
- Version
5656
- Explanation
57+
5758
* - ``\phpbb\avatar\driver\remote``
5859
- ``phpbb/avatar/driver/remote.php``
5960
- Removed
6061
- ``4.0.0-a1``
6162
- Use alternative avatar like gravatar or upload avatar.
63+
6264
* - ``\phpbb\ban\*``
6365
- ``phpbb/ban/*``
6466
- Added
6567
- ``4.0.0-a1``
6668
- Added new refactored banning system. See the API docs for `\\phpbb\\ban <https://area51.phpbb.com/docs/code/master/phpbb/ban.html>`_ namespace.
69+
6770
* - ``\phpbb\captcha\plugins\incomplete``
6871
- ``phpbb/captcha/plugins/incomplete.php``
6972
- Added
7073
- ``4.0.0-a1``
7174
- Placeholder CAPTCHA that prevents e.g. registration until safer captcha like reCAPTCHA or QA is enabled.
75+
7276
* - ``\phpbb\captcha\plugins\gd``
7377
- ``phpbb/captcha/plugins/gd.php``
7478
- Removed
7579
- ``4.0.0-a1``
7680
- Use safer captcha like reCAPTCHA or QA.
81+
7782
* - ``\phpbb\captcha\plugins\gd_wave``
7883
- ``phpbb/captcha/plugins/gd_wave.php``
7984
- Removed
8085
- ``4.0.0-a1``
8186
- Use safer captcha like reCAPTCHA or QA.
87+
8288
* - ``\phpbb\captcha\plugins\nogd``
8389
- ``phpbb/captcha/plugins/nogd.php``
8490
- Removed
8591
- ``4.0.0-a1``
8692
- Use safer captcha like reCAPTCHA or QA.
93+
8794
* - ``\phpbb\captcha\char_cube3d``
8895
- ``phpbb/captcha/char_cube3d.php``
8996
- Removed
9097
- ``4.0.0-a1``
9198
- No longer used due to removal of gd & nogd CAPTCHAs.
99+
92100
* - ``\phpbb\captcha\colour_manager``
93101
- ``phpbb/captcha/colour_manager.php``
94102
- Removed
95103
- ``4.0.0-a1``
96104
- No longer used due to removal of gd & nogd CAPTCHAs.
105+
97106
* - ``\phpbb\captcha\gd``
98107
- ``phpbb/captcha/gd.php``
99108
- Removed
100109
- ``4.0.0-a1``
101110
- No longer used due to removal of gd & nogd CAPTCHAs.
111+
102112
* - ``\phpbb\captcha\gd_wave``
103113
- ``phpbb/captcha/gd_wave.php``
104114
- Removed
105115
- ``4.0.0-a1``
106116
- No longer used due to removal of gd & nogd CAPTCHAs.
117+
107118
* - ``\phpbb\captcha\non_gd``
108119
- ``phpbb/captcha/non_gd.php``
109120
- Removed
110121
- ``4.0.0-a1``
111122
- No longer used due to removal of gd & nogd CAPTCHAs.
123+
112124
* - ``\phpbb\form\form_helper``
113125
- ``phpbb/form/form_helper.php``
114126
- Added
115127
- ``4.0.0-a1``
116128
- Introduced form_helper for generating and checking form tokens.
129+
117130
* - ``get_user_avatar``
118131
- ``includes/functions_compatibility.php``
119132
- Removed in ``4.0.0-a1``, deprecated in ``3.1.0-a1``
120133
- ``4.0.0-a1``
121134
- Use ``\phpbb\avatar\helper::get_user_avatar()`` instead.
135+
122136
* - ``phpbb_get_user_avatar``
123137
- ``includes/functions.php``
124138
- Removed
125139
- ``4.0.0-a1``
126140
- Use ``\phpbb\avatar\helper::get_user_avatar()`` instead.
141+
127142
* - ``phpbb_get_group_avatar``
128143
- ``includes/functions.php``
129144
- Removed
130145
- ``4.0.0-a1``
131146
- Use ``\phpbb\avatar\helper::get_user_avatar()`` instead.
147+
132148
* - ``phpbb_get_avatar``
133149
- ``includes/functions.php``
134150
- Removed
135151
- ``4.0.0-a1``
136152
- Use ``\phpbb\avatar\helper::get_user_avatar()`` instead.
137153

154+
* - ``phpbb_check_hash``
155+
- ``includes/functions_compatibility.php``
156+
- Removed
157+
- ``4.0.0-a1``
158+
- Use ``\phpbb\passwords\manager::check()`` instead.
159+
160+
* - ``phpbb_clean_path``
161+
- ``includes/functions_compatibility.php``
162+
- Removed
163+
- ``4.0.0-a1``
164+
- Use ``\phpbb\filesystem\helper::clean_path()`` instead.
165+
166+
* - ``phpbb_hash``
167+
- ``includes/functions_compatibility.php``
168+
- Removed
169+
- ``4.0.0-a1``
170+
- Use ``\phpbb\passwords\manager::hash()`` instead.
171+
172+
* - ``tz_select``
173+
- ``includes/functions_compatibility.php``
174+
- Removed
175+
- ``4.0.0-a1``
176+
- Use ``phpbb_timezone_select()`` from ``functions.php`` instead.
177+
178+
* - ``cache_moderators``
179+
- ``includes/functions_compatibility.php``
180+
- Removed
181+
- ``4.0.0-a1``
182+
- Use ``phpbb_cache_moderators()`` from ``functions_admin.php`` instead.
183+
184+
* - ``update_foes``
185+
- ``includes/functions_compatibility.php``
186+
- Removed
187+
- ``4.0.0-a1``
188+
- Use ``phpbb_update_foes()`` from ``functions_admin.php`` instead.
189+
190+
* - ``get_user_rank``
191+
- ``includes/functions_compatibility.php``
192+
- Removed
193+
- ``4.0.0-a1``
194+
- Use ``phpbb_get_user_rank()`` from ``functions_display.php`` instead.
195+
196+
* - ``get_remote_file``
197+
- ``includes/functions_compatibility.php``
198+
- Removed
199+
- ``4.0.0-a1``
200+
- Use ``\phpbb\file_downloader`` instead.
201+
202+
* - ``add_log``
203+
- ``includes/functions_compatibility.php``
204+
- Removed
205+
- ``4.0.0-a1``
206+
- Use ``\phpbb\log\log`` instead.
207+
208+
* - ``get_tables``
209+
- ``includes/functions_compatibility.php``
210+
- Removed
211+
- ``4.0.0-a1``
212+
- Use ``\phpbb\db\tools\tools_interface`` classes instead.
213+
214+
* - ``phpbb_chmod``
215+
- ``includes/functions_compatibility.php``
216+
- Removed
217+
- ``4.0.0-a1``
218+
- Use ``\phpbb\filesystem\filesystem::phpbb_chmod()`` instead.
219+
220+
* - ``phpbb_is_writable``
221+
- ``includes/functions_compatibility.php``
222+
- Removed
223+
- ``4.0.0-a1``
224+
- Use ``\phpbb\filesystem\filesystem::is_writable()`` instead.
225+
226+
* - ``phpbb_is_absolute``
227+
- ``includes/functions_compatibility.php``
228+
- Removed
229+
- ``4.0.0-a1``
230+
- Use ``\phpbb\filesystem\helper::is_absolute_path()`` instead.
231+
232+
* - ``phpbb_realpath``
233+
- ``includes/functions_compatibility.php``
234+
- Removed
235+
- ``4.0.0-a1``
236+
- Use ``\phpbb\filesystem\helper::realpath()`` instead.
237+
238+
* - ``phpbb_get_plural_form``
239+
- ``includes/functions_compatibility.php``
240+
- Removed
241+
- ``4.0.0-a1``
242+
- Use ``\phpbb\language\language::get_plural_form()`` instead.
243+
244+
* - ``phpbb_pcre_utf8_support``
245+
- ``includes/functions_compatibility.php``
246+
- Removed
247+
- ``4.0.0-a1``
248+
- Not used anymore.
249+
250+
* - ``delete_attachments``
251+
- ``includes/functions_compatibility.php``
252+
- Removed
253+
- ``4.0.0-a1``
254+
- Use ``\phpbb\attachment\manager::delete()`` instead.
255+
256+
* - ``phpbb_unlink``
257+
- ``includes/functions_compatibility.php``
258+
- Removed
259+
- ``4.0.0-a1``
260+
- Use ``\phpbb\attachment\manager::unlink()`` instead.
261+
262+
* - ``upload_attachment``
263+
- ``includes/functions_compatibility.php``
264+
- Removed
265+
- ``4.0.0-a1``
266+
- Use ``\phpbb\attachment\manager::upload()`` instead.
267+
268+
* - ``display_reasons``
269+
- ``includes/functions_compatibility.php``
270+
- Removed
271+
- ``4.0.0-a1``
272+
- Use ``\phpbb\report\report_reason_list_provider::display_reasons()`` instead.
273+
274+
* - ``phpbb_check_and_display_sql_report``
275+
- ``includes/functions_compatibility.php``
276+
- Removed
277+
- ``4.0.0-a1``
278+
- Use ``\phpbb\controller\helper::display_sql_report()`` instead.
279+
280+
* - ``phpbb_checkdnsrr``
281+
- ``includes/functions_compatibility.php``
282+
- Removed
283+
- ``4.0.0-a1``
284+
- Use PHP's ``checkdnsrr()`` instead.
285+
286+
* - ``phpbb_inet_ntop``
287+
- ``includes/functions_compatibility.php``
288+
- Removed
289+
- ``4.0.0-a1``
290+
- Use PHP's ``inet_ntop()`` instead.
291+
292+
* - ``phpbb_inet_pton``
293+
- ``includes/functions_compatibility.php``
294+
- Removed
295+
- ``4.0.0-a1``
296+
- Use PHP's ``inet_pton()`` instead.
297+
298+
* - ``wrap_img_in_html``
299+
- ``includes/functions_compatibility.php``
300+
- Removed
301+
- ``4.0.0-a1``
302+
- Not used anymore.
303+
138304
* - ``build_cfg_template``
139305
- ``includes/functions_acp.php``
140306
- Removed

0 commit comments

Comments
 (0)