mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 17:25:57 +00:00
remove some redundant php closing tags
This commit is contained in:
@@ -87,4 +87,4 @@
|
|||||||
header("Api-Content-Length: " . ob_get_length());
|
header("Api-Content-Length: " . ob_get_length());
|
||||||
|
|
||||||
ob_end_flush();
|
ob_end_flush();
|
||||||
?>
|
|
||||||
|
|||||||
@@ -888,5 +888,3 @@ class API extends Handler {
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -63,5 +63,3 @@ class Auth_Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -116,4 +116,3 @@ class Backend extends Handler {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -98,4 +98,3 @@ class Db implements IDb {
|
|||||||
return $this->adapter->last_query_error();
|
return $this->adapter->last_query_error();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -83,4 +83,3 @@ class Db_Mysqli implements IDb {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -98,4 +98,3 @@ class Db_PDO implements IDb {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -89,4 +89,3 @@ class Db_Pgsql implements IDb {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -184,4 +184,3 @@ class Db_Prefs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -29,4 +29,3 @@ class Db_Stmt {
|
|||||||
return $this->stmt->fetch();
|
return $this->stmt->fetch();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -72,4 +72,4 @@ class DbUpdater {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} ?>
|
}
|
||||||
@@ -191,4 +191,3 @@ class Dlg extends Handler_Protected {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -7,4 +7,4 @@ class FeedEnclosure {
|
|||||||
public $height;
|
public $height;
|
||||||
public $width;
|
public $width;
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ abstract class FeedItem {
|
|||||||
abstract function get_enclosures();
|
abstract function get_enclosures();
|
||||||
abstract function get_author();
|
abstract function get_author();
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -198,4 +198,3 @@ class FeedItem_Atom extends FeedItem_Common {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -83,4 +83,3 @@ abstract class FeedItem_Common extends FeedItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -190,4 +190,3 @@ class FeedItem_RSS extends FeedItem_Common {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -283,4 +283,4 @@ class FeedParser {
|
|||||||
|
|
||||||
return $rv;
|
return $rv;
|
||||||
}
|
}
|
||||||
} ?>
|
}
|
||||||
@@ -21,4 +21,3 @@ class Handler implements IHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -5,4 +5,3 @@ class Handler_Protected extends Handler {
|
|||||||
return parent::before($method) && $_SESSION['uid'];
|
return parent::before($method) && $_SESSION['uid'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -2,4 +2,3 @@
|
|||||||
interface IAuthModule {
|
interface IAuthModule {
|
||||||
function authenticate($login, $password);
|
function authenticate($login, $password);
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -11,4 +11,3 @@ interface IDb {
|
|||||||
function last_error();
|
function last_error();
|
||||||
function last_query_error();
|
function last_query_error();
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -4,4 +4,3 @@ interface IHandler {
|
|||||||
function before($method);
|
function before($method);
|
||||||
function after();
|
function after();
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -62,4 +62,3 @@ class Logger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -24,4 +24,3 @@ class Logger_SQL {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -31,4 +31,3 @@ class Logger_Syslog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -515,4 +515,3 @@ class Opml extends Handler_Protected {
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -41,4 +41,3 @@ class Plugin {
|
|||||||
return Plugin::API_VERSION_COMPAT;
|
return Plugin::API_VERSION_COMPAT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -18,5 +18,3 @@ class PluginHandler extends Handler_Protected {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -435,4 +435,3 @@ class PluginHost {
|
|||||||
return $this->plugin_actions;
|
return $this->plugin_actions;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -1977,4 +1977,3 @@ class Pref_Feeds extends Handler_Protected {
|
|||||||
print (int) $this->dbh->fetch_result($result, 0, "num_inactive");
|
print (int) $this->dbh->fetch_result($result, 0, "num_inactive");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -1193,4 +1193,3 @@ class Pref_Filters extends Handler_Protected {
|
|||||||
$this->dbh->query("COMMIT");
|
$this->dbh->query("COMMIT");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -312,5 +312,3 @@ class Pref_Labels extends Handler_Protected {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -1121,4 +1121,3 @@ class Pref_Prefs extends Handler_Protected {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -87,4 +87,3 @@ class Pref_System extends Handler_Protected {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -453,6 +453,4 @@ class Pref_Users extends Handler_Protected {
|
|||||||
print "</div>"; #container
|
print "</div>"; #container
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -665,4 +665,3 @@ class RPC extends Handler_Protected {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -61,5 +61,3 @@ class ttrssMailer extends PHPMailer {
|
|||||||
return $rc;
|
return $rc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -11,4 +11,3 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -222,4 +222,4 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
} */
|
} */
|
||||||
?>
|
|
||||||
|
|||||||
@@ -348,4 +348,4 @@ function hsl2rgb($arr) {
|
|||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -18,4 +18,3 @@
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -8,4 +8,3 @@
|
|||||||
function set_pref($pref_name, $value, $user_id = false, $strip_tags = true) {
|
function set_pref($pref_name, $value, $user_id = false, $strip_tags = true) {
|
||||||
return Db_Prefs::get()->write($pref_name, $value, $user_id, $strip_tags);
|
return Db_Prefs::get()->write($pref_name, $value, $user_id, $strip_tags);
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -36,5 +36,3 @@ function db_last_query_error() {
|
|||||||
function db_quote($str){
|
function db_quote($str){
|
||||||
return Db::get()->quote($str);
|
return Db::get()->quote($str);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -189,4 +189,4 @@
|
|||||||
|
|
||||||
return array($tmp, $headlines_count, $affected_ids, $tmp_t);
|
return array($tmp, $headlines_count, $affected_ids, $tmp_t);
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -71,4 +71,4 @@ function ttrss_fatal_handler() {
|
|||||||
|
|
||||||
register_shutdown_function('ttrss_fatal_handler');
|
register_shutdown_function('ttrss_fatal_handler');
|
||||||
set_error_handler('ttrss_error_handler');
|
set_error_handler('ttrss_error_handler');
|
||||||
?>
|
|
||||||
|
|||||||
@@ -110,4 +110,3 @@
|
|||||||
|
|
||||||
return $rv;
|
return $rv;
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -2530,4 +2530,4 @@
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -197,5 +197,3 @@
|
|||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -1531,4 +1531,4 @@
|
|||||||
|
|
||||||
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_HOUSE_KEEPING, "hook_house_keeping", "");
|
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_HOUSE_KEEPING, "hook_house_keeping", "");
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -140,4 +140,3 @@
|
|||||||
@session_start();
|
@session_start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@@ -39,4 +39,3 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
define('VERSION', get_version());
|
define('VERSION', get_version());
|
||||||
?>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user