From 919d2f11a66b7e43fa85fdd9997df01a0d563447 Mon Sep 17 00:00:00 2001 From: spaghetti Date: Tue, 27 Jun 2017 17:24:52 -0400 Subject: [PATCH] Code style: replace "array()" with "[]" This was an automatic mass-replace. Manual replacement of array(...) will continue --- design/privateheader.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/design/privateheader.php b/design/privateheader.php index 8fd7ac2..b0dd5da 100755 --- a/design/privateheader.php +++ b/design/privateheader.php @@ -117,7 +117,7 @@ $NotificationsManager = new NotificationsManager(G::$LoggedUser['ID']); $Notifications = $NotificationsManager->get_notifications(); $UseNoty = $NotificationsManager->use_noty(); $NewSubscriptions = false; -$NotificationSpans = array(); +$NotificationSpans = []; foreach ($Notifications as $Type => $Notification) { if ($Type === NotificationsManager::SUBSCRIPTIONS) { $NewSubscriptions = true; @@ -339,8 +339,8 @@ if (check_perms('site_send_unlimited_invites')) {