From ea79a0e033e40057279a7f464c9464145eedc932 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 26 Apr 2017 20:24:18 +0300 Subject: remove some redundant php closing tags --- include/autoload.php | 3 +-- include/ccache.php | 2 +- include/colors.php | 2 +- include/crypt.php | 3 +-- include/db-prefs.php | 3 +-- include/db.php | 2 -- include/digest.php | 2 +- include/errorhandler.php | 2 +- include/feedbrowser.php | 1 - include/functions2.php | 2 +- include/labels.php | 2 -- include/rssfuncs.php | 2 +- include/sessions.php | 1 - include/version.php | 1 - 14 files changed, 9 insertions(+), 19 deletions(-) (limited to 'include') diff --git a/include/autoload.php b/include/autoload.php index 505b44477..28a2effd4 100644 --- a/include/autoload.php +++ b/include/autoload.php @@ -10,5 +10,4 @@ require $file; } - } -?> + } \ No newline at end of file diff --git a/include/ccache.php b/include/ccache.php index b938b8664..45cd4ce6f 100644 --- a/include/ccache.php +++ b/include/ccache.php @@ -222,4 +222,4 @@ } } */ -?> + diff --git a/include/colors.php b/include/colors.php index 491d38c15..c441f7cb1 100644 --- a/include/colors.php +++ b/include/colors.php @@ -348,4 +348,4 @@ function hsl2rgb($arr) { } return ''; } -?> + diff --git a/include/crypt.php b/include/crypt.php index 217ad3b0f..3e26dfd5a 100644 --- a/include/crypt.php +++ b/include/crypt.php @@ -17,5 +17,4 @@ } return false; - } -?> + } \ No newline at end of file diff --git a/include/db-prefs.php b/include/db-prefs.php index d122f3baf..91235b479 100644 --- a/include/db-prefs.php +++ b/include/db-prefs.php @@ -7,5 +7,4 @@ function set_pref($pref_name, $value, $user_id = false, $strip_tags = true) { return Db_Prefs::get()->write($pref_name, $value, $user_id, $strip_tags); - } -?> + } \ No newline at end of file diff --git a/include/db.php b/include/db.php index f45f07276..c02e90ef2 100644 --- a/include/db.php +++ b/include/db.php @@ -36,5 +36,3 @@ function db_last_query_error() { function db_quote($str){ return Db::get()->quote($str); } - -?> diff --git a/include/digest.php b/include/digest.php index 71ee6d203..ff5d77f10 100644 --- a/include/digest.php +++ b/include/digest.php @@ -189,4 +189,4 @@ return array($tmp, $headlines_count, $affected_ids, $tmp_t); } -?> + diff --git a/include/errorhandler.php b/include/errorhandler.php index bb2fbaee3..95c9edc69 100644 --- a/include/errorhandler.php +++ b/include/errorhandler.php @@ -71,4 +71,4 @@ function ttrss_fatal_handler() { register_shutdown_function('ttrss_fatal_handler'); set_error_handler('ttrss_error_handler'); -?> + diff --git a/include/feedbrowser.php b/include/feedbrowser.php index ec4efe15a..b70e47fdf 100644 --- a/include/feedbrowser.php +++ b/include/feedbrowser.php @@ -110,4 +110,3 @@ return $rv; } -?> diff --git a/include/functions2.php b/include/functions2.php index f9ee8245f..97077e9da 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -2530,4 +2530,4 @@ return ""; } } -?> + diff --git a/include/labels.php b/include/labels.php index 4149864b3..9e2674b98 100644 --- a/include/labels.php +++ b/include/labels.php @@ -197,5 +197,3 @@ return $result; } - -?> diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 645d06f89..ff46ac8a1 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1531,4 +1531,4 @@ PluginHost::getInstance()->run_hooks(PluginHost::HOOK_HOUSE_KEEPING, "hook_house_keeping", ""); } -?> + diff --git a/include/sessions.php b/include/sessions.php index e955c70b2..d0532a014 100644 --- a/include/sessions.php +++ b/include/sessions.php @@ -140,4 +140,3 @@ @session_start(); } } -?> diff --git a/include/version.php b/include/version.php index 21dce3166..02bc7f3be 100644 --- a/include/version.php +++ b/include/version.php @@ -39,4 +39,3 @@ } define('VERSION', get_version()); -?> -- cgit v1.2.3