mirror of
https://github.com/friendica/friendica
synced 2025-04-23 19:10:13 +00:00
Replace deprecated defaults() calls by ?? and ?: operators in src/Module/
This commit is contained in:
parent
8998926e5b
commit
f59ea2af55
40 changed files with 115 additions and 94 deletions
|
@ -27,7 +27,7 @@ class Feed extends BaseModule
|
|||
{
|
||||
$a = self::getApp();
|
||||
|
||||
$last_update = defaults($_GET, 'last_update', '');
|
||||
$last_update = $_GET['last_update'] ?? '';
|
||||
$nocache = !empty($_GET['nocache']) && local_user();
|
||||
|
||||
// @TODO: Replace with parameter from router
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue