summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-09-05 23:28:59 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2012-09-05 23:28:59 +0200
commit190a070f15b546290853258a389503af98655970 (patch)
treee63a77e71b36f99876af38a34e337481488ca7b3 /templates
parent390d608c1cd43b138a8399896c7d8c14fd9b737e (diff)
no more require_once()
Diffstat (limited to 'templates')
-rw-r--r--templates/part.nofeeds.php2
-rw-r--r--templates/settings.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.nofeeds.php b/templates/part.nofeeds.php
index 0632a191f..1a3355128 100644
--- a/templates/part.nofeeds.php
+++ b/templates/part.nofeeds.php
@@ -22,7 +22,7 @@
</div>
<div>
<?php
- require_once(OC_App::getAppPath('news') .'/templates/subscribelet.php');
+ require_once OC_App::getAppPath('news') .'/templates/subscribelet.php';
echo '<h1>' . $l->t('Or...') . '</h1>';
?>
<?php createSubscribelet(); ?>
diff --git a/templates/settings.php b/templates/settings.php
index 72c5ad2e5..ff1f1ceba 100644
--- a/templates/settings.php
+++ b/templates/settings.php
@@ -16,7 +16,7 @@
<dt><?php echo $l->t('Subscribelet'); ?></dt>
<dd>
<?php
- require_once(OC_App::getAppPath('news') .'/templates/subscribelet.php');
+ require_once OC_App::getAppPath('news') .'/templates/subscribelet.php';
createSubscribelet();
?>
</dd>