summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2014-05-31 21:23:49 +0100
committerlsces <lester@lsces.co.uk>2014-05-31 21:23:49 +0100
commite183de9c4d97e670b850929c7ff1152fab01d6d1 (patch)
tree5d201181d0058f961ed30d7566b8ea0ea2a92c0d /modules
parent4753d5552aa9cb66c3cdc10387d2a490d41f7a42 (diff)
downloadarticles-e183de9c4d97e670b850929c7ff1152fab01d6d1.tar.gz
articles-e183de9c4d97e670b850929c7ff1152fab01d6d1.tar.bz2
articles-e183de9c4d97e670b850929c7ff1152fab01d6d1.zip
PSR trial tidyup. Drop trailing ?> and tidy legacy bracing.
Diffstat (limited to 'modules')
-rw-r--r--modules/index.php2
-rw-r--r--modules/mod_articles.php1
2 files changed, 0 insertions, 3 deletions
diff --git a/modules/index.php b/modules/index.php
index 3e305fe..1e6de35 100644
--- a/modules/index.php
+++ b/modules/index.php
@@ -2,5 +2,3 @@
// This is not a package.
header ("location: ../index.php");
-
-?> \ No newline at end of file
diff --git a/modules/mod_articles.php b/modules/mod_articles.php
index a7d63a1..e048758 100644
--- a/modules/mod_articles.php
+++ b/modules/mod_articles.php
@@ -54,4 +54,3 @@ if( ( !empty( $module_params['topic_id'] ) || !empty( $module_params['topic_name
$_template->tpl_vars['params'] = new Smarty_variable( !empty( $moduleParams['params'] ) );
$_template->tpl_vars['listtype'] = new Smarty_variable( ( isset($module_params['list_type']) && (strncasecmp($module_params['list_type'], 'u', 1) == 0) ) ? 'ul' : 'ol' );
$_template->tpl_vars['modArticles'] = new Smarty_variable( $articlelist );
-?>