summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ajax/exportopml.php2
-rw-r--r--ajax/importopml.php2
-rw-r--r--lib/utils.php2
-rw-r--r--templates/part.nofeeds.php2
-rw-r--r--templates/settings.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/ajax/exportopml.php b/ajax/exportopml.php
index 7911a4db9..95558a5b4 100644
--- a/ajax/exportopml.php
+++ b/ajax/exportopml.php
@@ -27,7 +27,7 @@ if(!isset($_POST['path'])) {
bailOut($l->t('No file path was submitted.'));
}
-require_once('news/opmlparser.php');
+require_once 'news/opmlparser.php';
$raw = file_get_contents($_POST['path']);
diff --git a/ajax/importopml.php b/ajax/importopml.php
index 80196d176..c339e3f31 100644
--- a/ajax/importopml.php
+++ b/ajax/importopml.php
@@ -27,7 +27,7 @@ if(!isset($_POST['path'])) {
bailOut($l->t('No file path was submitted.'));
}
-require_once('news/opmlparser.php');
+require_once 'news/opmlparser.php';
$raw = file_get_contents($_POST['path']);
diff --git a/lib/utils.php b/lib/utils.php
index ca5501f1f..7c1f8ee4a 100644
--- a/lib/utils.php
+++ b/lib/utils.php
@@ -14,7 +14,7 @@ namespace OCA\News;
// load SimplePie library
//TODO: is this a suitable place for the following require?
- require_once('news/3rdparty/SimplePie/autoloader.php');
+ require_once 'news/3rdparty/SimplePie/autoloader.php';
class Utils {
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>