File tree Expand file tree Collapse file tree 1 file changed +0
-54
lines changed Expand file tree Collapse file tree 1 file changed +0
-54
lines changed Original file line number Diff line number Diff line change @@ -213,46 +213,6 @@ public function __construct(
213
213
$ this ->loadSystemUris ();
214
214
}
215
215
216
- /**
217
- * Magic method to access properties of the application.
218
- *
219
- * @param string $name The name of the property.
220
- *
221
- * @return Input|null A value if the property name is valid, null otherwise.
222
- *
223
- * @since 2.0.0
224
- * @deprecated 3.0 This is a B/C proxy for deprecated read accesses
225
- */
226
- public function __get ($ name )
227
- {
228
- switch ($ name ) {
229
- case 'input ' :
230
- \trigger_deprecation (
231
- 'joomla/application ' ,
232
- '2.0.0 ' ,
233
- 'Accessing the input property of %s is deprecated, use the %s::getInput() method instead. ' ,
234
- self ::class,
235
- self ::class
236
- );
237
-
238
- return $ this ->getInput ();
239
-
240
- default :
241
- $ trace = \debug_backtrace ();
242
- \trigger_error (
243
- \sprintf (
244
- 'Undefined property via __get(): %1$s in %2$s on line %3$s ' ,
245
- $ name ,
246
- $ trace [0 ]['file ' ],
247
- $ trace [0 ]['line ' ]
248
- ),
249
- E_USER_NOTICE
250
- );
251
-
252
- return null ;
253
- }
254
- }
255
-
256
216
/**
257
217
* Execute the application.
258
218
*
@@ -478,20 +438,6 @@ public function redirect($url, $status = 303)
478
438
479
439
echo $ html ;
480
440
} else {
481
- // Check if we have a boolean for the status variable for compatibility with v1 of the framework
482
- // @deprecated 3.0
483
- if (\is_bool ($ status )) {
484
- \trigger_deprecation (
485
- 'joomla/application ' ,
486
- '2.0.0 ' ,
487
- 'Passing a boolean value for the $status argument in %s() is deprecated, '
488
- . ' an integer should be passed instead. ' ,
489
- __METHOD__
490
- );
491
-
492
- $ status = $ status ? 301 : 303 ;
493
- }
494
-
495
441
if (!\is_int ($ status ) && !$ this ->isRedirectState ($ status )) {
496
442
throw new \InvalidArgumentException ('You have not supplied a valid HTTP status code ' );
497
443
}
You can’t perform that action at this time.
0 commit comments