]> git.mxchange.org Git - friendica-addons.git/blobdiff - testdrive/testdrive.php
Use short form array syntax everywhere
[friendica-addons.git] / testdrive / testdrive.php
index 9c1a0c044514f56884de0f800ca91b1ec3c5a85e..6203f3cdf345b8a408c1bc98d85b58ca49a6175f 100644 (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()),