Use short form array syntax everywhere

This commit is contained in:
Hypolite Petovan 2018-01-15 08:15:33 -05:00
parent 4ee41c64a3
commit 27b60e003f
68 changed files with 869 additions and 869 deletions

View file

@ -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()),