mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Use short form array syntax everywhere
This commit is contained in:
parent
4ee41c64a3
commit
27b60e003f
68 changed files with 869 additions and 869 deletions
|
@ -58,7 +58,7 @@ function testdrive_cron($a,$b) {
|
|||
|
||||
if(count($r)) {
|
||||
foreach($r as $rr) {
|
||||
notification(array(
|
||||
notification([
|
||||
'uid' => $rr['uid'],
|
||||
'type' => NOTIFY_SYSTEM,
|
||||
'system_type' => 'testdrive_expire',
|
||||
|
@ -68,7 +68,7 @@ function testdrive_cron($a,$b) {
|
|||
'source_name' => t('Administrator'),
|
||||
'source_link' => $a->get_baseurl(),
|
||||
'source_photo' => $a->get_baseurl() . '/images/person-80.jpg',
|
||||
));
|
||||
]);
|
||||
|
||||
q("update user set expire_notification_sent = '%s' where uid = %d",
|
||||
dbesc(datetime_convert()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue