Przeglądaj źródła

[neko][php] deprecate neko.Web and php.Web (#9153)

Aleksandr Kuzmenko 5 lat temu
rodzic
commit
fd0aef5a60
2 zmienionych plików z 2 dodań i 0 usunięć
  1. 1 0
      std/neko/Web.hx
  2. 1 0
      std/php/Web.hx

+ 1 - 0
std/neko/Web.hx

@@ -28,6 +28,7 @@ import haxe.ds.List;
 	This class is used for accessing the local Web server and the current
 	client request and information.
 **/
+@:deprecated('neko.Web is deprecated and will be removed from standard library in Haxe 4.2')
 class Web {
 	/**
 		Returns the GET and POST parameters.

+ 1 - 0
std/php/Web.hx

@@ -32,6 +32,7 @@ import php.SuperGlobal.*;
 	This class is used for accessing the local Web server and the current
 	client request and information.
 **/
+@:deprecated('php.Web is deprecated and will be removed from standard library in Haxe 4.2. See php.SuperGlobal and php.Global for alternatives.')
 class Web {
 	/**
 		Returns the GET and POST parameters.