Skip to content

Commit 3700052

Browse files
authored
Merge pull request #292 from phpbb/ticket/12479
Document removed deprecated functions for PHPBB-12479
2 parents 88a445b + 9c63c19 commit 3700052

File tree

1 file changed

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

1 file changed

+244
-0
lines changed

development/development/upgrade/400.rst

+244
Original file line numberDiff line numberDiff line change
@@ -54,87 +54,331 @@ 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+
124+
* - ``\phpbb\filesystem``
125+
- ``phpbb/filesystem.php``
126+
- Removed
127+
- ``4.0.0-a1``
128+
- Use ``\phpbb\filesystem\filesystem`` instead.
129+
112130
* - ``\phpbb\form\form_helper``
113131
- ``phpbb/form/form_helper.php``
114132
- Added
115133
- ``4.0.0-a1``
116134
- Introduced form_helper for generating and checking form tokens.
135+
136+
* - ``\phpbb\php\ini``
137+
- ``phpbb/php/ini.php``
138+
- Removed
139+
- ``4.0.0-a1``
140+
- Use ``\bantu\IniGetWrapper\IniGetWrapper`` instead.
141+
142+
* - ``bbcode_second_pass_by_extension``
143+
- ``includes/bbcode.php``
144+
- Removed in ``4.0.0-a1``, deprecated in ``3.2.10``
145+
- ``4.0.0-a1``
146+
- Use s9e text_formatter instead.
147+
117148
* - ``get_user_avatar``
118149
- ``includes/functions_compatibility.php``
119150
- Removed in ``4.0.0-a1``, deprecated in ``3.1.0-a1``
120151
- ``4.0.0-a1``
121152
- Use ``\phpbb\avatar\helper::get_user_avatar()`` instead.
153+
122154
* - ``phpbb_get_user_avatar``
123155
- ``includes/functions.php``
124156
- Removed
125157
- ``4.0.0-a1``
126158
- Use ``\phpbb\avatar\helper::get_user_avatar()`` instead.
159+
127160
* - ``phpbb_get_group_avatar``
128161
- ``includes/functions.php``
129162
- Removed
130163
- ``4.0.0-a1``
131164
- Use ``\phpbb\avatar\helper::get_user_avatar()`` instead.
165+
132166
* - ``phpbb_get_avatar``
133167
- ``includes/functions.php``
134168
- Removed
135169
- ``4.0.0-a1``
136170
- Use ``\phpbb\avatar\helper::get_user_avatar()`` instead.
137171

172+
* - ``phpbb_check_hash``
173+
- ``includes/functions_compatibility.php``
174+
- Removed
175+
- ``4.0.0-a1``
176+
- Use ``\phpbb\passwords\manager::check()`` instead.
177+
178+
* - ``phpbb_clean_path``
179+
- ``includes/functions_compatibility.php``
180+
- Removed
181+
- ``4.0.0-a1``
182+
- Use ``\phpbb\filesystem\helper::clean_path()`` instead.
183+
184+
* - ``phpbb_hash``
185+
- ``includes/functions_compatibility.php``
186+
- Removed
187+
- ``4.0.0-a1``
188+
- Use ``\phpbb\passwords\manager::hash()`` instead.
189+
190+
* - ``tz_select``
191+
- ``includes/functions_compatibility.php``
192+
- Removed
193+
- ``4.0.0-a1``
194+
- Use ``phpbb_timezone_select()`` from ``functions.php`` instead.
195+
196+
* - ``cache_moderators``
197+
- ``includes/functions_compatibility.php``
198+
- Removed
199+
- ``4.0.0-a1``
200+
- Use ``phpbb_cache_moderators()`` from ``functions_admin.php`` instead.
201+
202+
* - ``update_foes``
203+
- ``includes/functions_compatibility.php``
204+
- Removed
205+
- ``4.0.0-a1``
206+
- Use ``phpbb_update_foes()`` from ``functions_admin.php`` instead.
207+
208+
* - ``get_user_rank``
209+
- ``includes/functions_compatibility.php``
210+
- Removed
211+
- ``4.0.0-a1``
212+
- Use ``phpbb_get_user_rank()`` from ``functions_display.php`` instead.
213+
214+
* - ``get_remote_file``
215+
- ``includes/functions_compatibility.php``
216+
- Removed
217+
- ``4.0.0-a1``
218+
- Use ``\phpbb\file_downloader`` instead.
219+
220+
* - ``add_log``
221+
- ``includes/functions_compatibility.php``
222+
- Removed
223+
- ``4.0.0-a1``
224+
- Use ``\phpbb\log\log`` instead.
225+
226+
* - ``set_config``
227+
- ``includes/functions_compatibility.php``
228+
- Removed
229+
- ``4.0.0-a1``
230+
- Use ``\phpbb\config\config::increment()`` instead.
231+
232+
* - ``set_config_count``
233+
- ``includes/functions_compatibility.php``
234+
- Removed
235+
- ``4.0.0-a1``
236+
- Use ``\phpbb\config\config::set()`` instead.
237+
238+
* - ``request_var``
239+
- ``includes/functions_compatibility.php``
240+
- Removed
241+
- ``4.0.0-a1``
242+
- Use ``\phpbb\request\request::variable()`` instead.
243+
244+
* - ``set_var``
245+
- ``includes/functions_compatibility.php``
246+
- Removed
247+
- ``4.0.0-a1``
248+
- Use ``\phpbb\request\type_cast_helper::set_var()`` instead.
249+
250+
* - ``phpbb_email_hash``
251+
- ``includes/functions_compatibility.php``
252+
- Removed
253+
- ``4.0.0-a1``
254+
- No longer used.
255+
256+
* - ``phpbb_http_login``
257+
- ``includes/functions_compatibility.php``
258+
- Removed
259+
- ``4.0.0-a1``
260+
- No longer used.
261+
262+
* - ``phpbb_load_extensions_autoloaders``
263+
- ``includes/functions_compatibility.php``
264+
- Removed
265+
- ``4.0.0-a1``
266+
- No longer used.
267+
268+
* - ``phpbb_build_hidden_fields_for_query_params``
269+
- ``includes/functions_compatibility.php``
270+
- Removed
271+
- ``4.0.0-a1``
272+
- No longer used.
273+
274+
* - ``phpbb_delete_user_pms``
275+
- ``includes/functions_compatibility.php``
276+
- Removed
277+
- ``4.0.0-a1``
278+
- Use ``phpbb_delete_user_pms`` instead. Pay attention to pay array instead of single user id.
279+
280+
* - ``phpbb_to_numeric``
281+
- ``includes/functions_compatibility.php``
282+
- Removed
283+
- ``4.0.0-a1``
284+
- No longer used.
285+
286+
* - ``get_tables``
287+
- ``includes/functions_compatibility.php``
288+
- Removed
289+
- ``4.0.0-a1``
290+
- Use ``\phpbb\db\tools\tools_interface`` classes instead.
291+
292+
* - ``phpbb_chmod``
293+
- ``includes/functions_compatibility.php``
294+
- Removed
295+
- ``4.0.0-a1``
296+
- Use ``\phpbb\filesystem\filesystem::phpbb_chmod()`` instead.
297+
298+
* - ``phpbb_is_writable``
299+
- ``includes/functions_compatibility.php``
300+
- Removed
301+
- ``4.0.0-a1``
302+
- Use ``\phpbb\filesystem\filesystem::is_writable()`` instead.
303+
304+
* - ``phpbb_is_absolute``
305+
- ``includes/functions_compatibility.php``
306+
- Removed
307+
- ``4.0.0-a1``
308+
- Use ``\phpbb\filesystem\helper::is_absolute_path()`` instead.
309+
310+
* - ``phpbb_realpath``
311+
- ``includes/functions_compatibility.php``
312+
- Removed
313+
- ``4.0.0-a1``
314+
- Use ``\phpbb\filesystem\helper::realpath()`` instead.
315+
316+
* - ``phpbb_get_plural_form``
317+
- ``includes/functions_compatibility.php``
318+
- Removed
319+
- ``4.0.0-a1``
320+
- Use ``\phpbb\language\language::get_plural_form()`` instead.
321+
322+
* - ``phpbb_pcre_utf8_support``
323+
- ``includes/functions_compatibility.php``
324+
- Removed
325+
- ``4.0.0-a1``
326+
- Not used anymore.
327+
328+
* - ``delete_attachments``
329+
- ``includes/functions_compatibility.php``
330+
- Removed
331+
- ``4.0.0-a1``
332+
- Use ``\phpbb\attachment\manager::delete()`` instead.
333+
334+
* - ``phpbb_unlink``
335+
- ``includes/functions_compatibility.php``
336+
- Removed
337+
- ``4.0.0-a1``
338+
- Use ``\phpbb\attachment\manager::unlink()`` instead.
339+
340+
* - ``upload_attachment``
341+
- ``includes/functions_compatibility.php``
342+
- Removed
343+
- ``4.0.0-a1``
344+
- Use ``\phpbb\attachment\manager::upload()`` instead.
345+
346+
* - ``display_reasons``
347+
- ``includes/functions_compatibility.php``
348+
- Removed
349+
- ``4.0.0-a1``
350+
- Use ``\phpbb\report\report_reason_list_provider::display_reasons()`` instead.
351+
352+
* - ``phpbb_check_and_display_sql_report``
353+
- ``includes/functions_compatibility.php``
354+
- Removed
355+
- ``4.0.0-a1``
356+
- Use ``\phpbb\controller\helper::display_sql_report()`` instead.
357+
358+
* - ``phpbb_checkdnsrr``
359+
- ``includes/functions_compatibility.php``
360+
- Removed
361+
- ``4.0.0-a1``
362+
- Use PHP's ``checkdnsrr()`` instead.
363+
364+
* - ``phpbb_inet_ntop``
365+
- ``includes/functions_compatibility.php``
366+
- Removed
367+
- ``4.0.0-a1``
368+
- Use PHP's ``inet_ntop()`` instead.
369+
370+
* - ``phpbb_inet_pton``
371+
- ``includes/functions_compatibility.php``
372+
- Removed
373+
- ``4.0.0-a1``
374+
- Use PHP's ``inet_pton()`` instead.
375+
376+
* - ``wrap_img_in_html``
377+
- ``includes/functions_compatibility.php``
378+
- Removed
379+
- ``4.0.0-a1``
380+
- Not used anymore.
381+
138382
* - ``build_cfg_template``
139383
- ``includes/functions_acp.php``
140384
- Removed

0 commit comments

Comments
 (0)