summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-14 17:32:49 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-14 17:32:49 +0200
commit160a0dfebaeb21cc75d7166dfbac6d0ef1a51460 (patch)
tree28e2555c97462d60356ef933d5c71c5326649747 /templates
parentacc2df1251a1c1b9ec5ede13bdf46d516dc64b0d (diff)
convert array() to []
Diffstat (limited to 'templates')
-rw-r--r--templates/main.php2
-rw-r--r--templates/part.listfolder.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/main.php b/templates/main.php
index 03c5a7c03..e33b534cb 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -29,7 +29,7 @@
<?php print_unescaped($this->inc('part.addnew')) ?>
<?php print_unescaped($this->inc('part.feed.unread')) ?>
<?php print_unescaped($this->inc('part.feed.starred')) ?>
- <?php print_unescaped($this->inc('part.listfeed', array('folderId' => '0'))) ?>
+ <?php print_unescaped($this->inc('part.listfeed', ['folderId' => '0'])) ?>
<?php print_unescaped($this->inc('part.listfolder')) ?>
<?php print_unescaped($this->inc('part.showall')); ?>
</ul>
diff --git a/templates/part.listfolder.php b/templates/part.listfolder.php
index 89626d5c9..c104303b5 100644
--- a/templates/part.listfolder.php
+++ b/templates/part.listfolder.php
@@ -69,7 +69,7 @@
</span>
<ul>
- <?php print_unescaped($this->inc('part.listfeed', array('folderId' => 'folder.id'))); ?>
+ <?php print_unescaped($this->inc('part.listfeed', ['folderId' => 'folder.id'])); ?>
</ul>
<div class="message" ng-show="folder.error">{{ folder.error }}</div>