Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Server
Tiny Tiny RSS
Commits
ea79a0e0
Commit
ea79a0e0
authored
Apr 26, 2017
by
Andrew Dolgov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove some redundant php closing tags
parent
e7340184
Changes
52
Hide whitespace changes
Inline
Side-by-side
Showing
52 changed files
with
38 additions
and
87 deletions
+38
-87
api/index.php
api/index.php
+1
-1
classes/api.php
classes/api.php
+1
-3
classes/auth/base.php
classes/auth/base.php
+0
-2
classes/backend.php
classes/backend.php
+1
-2
classes/db.php
classes/db.php
+1
-2
classes/db/mysqli.php
classes/db/mysqli.php
+0
-1
classes/db/pdo.php
classes/db/pdo.php
+1
-2
classes/db/pgsql.php
classes/db/pgsql.php
+1
-2
classes/db/prefs.php
classes/db/prefs.php
+1
-2
classes/db/stmt.php
classes/db/stmt.php
+1
-2
classes/dbupdater.php
classes/dbupdater.php
+1
-1
classes/dlg.php
classes/dlg.php
+1
-2
classes/feedenclosure.php
classes/feedenclosure.php
+1
-1
classes/feeditem.php
classes/feeditem.php
+1
-1
classes/feeditem/atom.php
classes/feeditem/atom.php
+1
-2
classes/feeditem/common.php
classes/feeditem/common.php
+1
-2
classes/feeditem/rss.php
classes/feeditem/rss.php
+1
-2
classes/feedparser.php
classes/feedparser.php
+1
-1
classes/handler.php
classes/handler.php
+1
-2
classes/handler/protected.php
classes/handler/protected.php
+0
-1
classes/iauthmodule.php
classes/iauthmodule.php
+0
-1
classes/idb.php
classes/idb.php
+0
-1
classes/ihandler.php
classes/ihandler.php
+0
-1
classes/logger.php
classes/logger.php
+1
-2
classes/logger/sql.php
classes/logger/sql.php
+1
-2
classes/logger/syslog.php
classes/logger/syslog.php
+1
-2
classes/opml.php
classes/opml.php
+0
-1
classes/plugin.php
classes/plugin.php
+1
-2
classes/pluginhandler.php
classes/pluginhandler.php
+0
-2
classes/pluginhost.php
classes/pluginhost.php
+1
-2
classes/pref/feeds.php
classes/pref/feeds.php
+1
-2
classes/pref/filters.php
classes/pref/filters.php
+1
-2
classes/pref/labels.php
classes/pref/labels.php
+1
-3
classes/pref/prefs.php
classes/pref/prefs.php
+1
-2
classes/pref/system.php
classes/pref/system.php
+0
-1
classes/pref/users.php
classes/pref/users.php
+1
-3
classes/rpc.php
classes/rpc.php
+1
-2
classes/ttrssmailer.php
classes/ttrssmailer.php
+1
-3
include/autoload.php
include/autoload.php
+1
-2
include/ccache.php
include/ccache.php
+1
-1
include/colors.php
include/colors.php
+1
-1
include/crypt.php
include/crypt.php
+1
-2
include/db-prefs.php
include/db-prefs.php
+1
-2
include/db.php
include/db.php
+0
-2
include/digest.php
include/digest.php
+1
-1
include/errorhandler.php
include/errorhandler.php
+1
-1
include/feedbrowser.php
include/feedbrowser.php
+0
-1
include/functions2.php
include/functions2.php
+1
-1
include/labels.php
include/labels.php
+0
-2
include/rssfuncs.php
include/rssfuncs.php
+1
-1
include/sessions.php
include/sessions.php
+0
-1
include/version.php
include/version.php
+0
-1
No files found.
api/index.php
View file @
ea79a0e0
...
...
@@ -87,4 +87,4 @@
header
(
"Api-Content-Length: "
.
ob_get_length
());
ob_end_flush
();
?>
classes/api.php
View file @
ea79a0e0
...
...
@@ -887,6 +887,4 @@ class API extends Handler {
}
}
?>
}
\ No newline at end of file
classes/auth/base.php
View file @
ea79a0e0
...
...
@@ -63,5 +63,3 @@ class Auth_Base {
}
}
?>
classes/backend.php
View file @
ea79a0e0
...
...
@@ -115,5 +115,4 @@ class Backend extends Handler {
__('Close this window')."</button></div>"; */
}
}
?>
}
\ No newline at end of file
classes/db.php
View file @
ea79a0e0
...
...
@@ -97,5 +97,4 @@ class Db implements IDb {
function
last_query_error
()
{
return
$this
->
adapter
->
last_query_error
();
}
}
?>
}
\ No newline at end of file
classes/db/mysqli.php
View file @
ea79a0e0
...
...
@@ -83,4 +83,3 @@ class Db_Mysqli implements IDb {
}
}
?>
classes/db/pdo.php
View file @
ea79a0e0
...
...
@@ -97,5 +97,4 @@ class Db_PDO implements IDb {
return
true
;
}
}
?>
}
\ No newline at end of file
classes/db/pgsql.php
View file @
ea79a0e0
...
...
@@ -88,5 +88,4 @@ class Db_Pgsql implements IDb {
return
true
;
}
}
?>
}
\ No newline at end of file
classes/db/prefs.php
View file @
ea79a0e0
...
...
@@ -183,5 +183,4 @@ class Db_Prefs {
}
}
}
?>
}
\ No newline at end of file
classes/db/stmt.php
View file @
ea79a0e0
...
...
@@ -28,5 +28,4 @@ class Db_Stmt {
function
fetch
()
{
return
$this
->
stmt
->
fetch
();
}
}
?>
}
\ No newline at end of file
classes/dbupdater.php
View file @
ea79a0e0
...
...
@@ -72,4 +72,4 @@ class DbUpdater {
}
}
}
?>
}
\ No newline at end of file
classes/dlg.php
View file @
ea79a0e0
...
...
@@ -190,5 +190,4 @@ class Dlg extends Handler_Protected {
//return;
}
}
?>
}
\ No newline at end of file
classes/feedenclosure.php
View file @
ea79a0e0
...
...
@@ -7,4 +7,4 @@ class FeedEnclosure {
public
$height
;
public
$width
;
}
?>
classes/feeditem.php
View file @
ea79a0e0
...
...
@@ -12,4 +12,4 @@ abstract class FeedItem {
abstract
function
get_enclosures
();
abstract
function
get_author
();
}
?>
classes/feeditem/atom.php
View file @
ea79a0e0
...
...
@@ -197,5 +197,4 @@ class FeedItem_Atom extends FeedItem_Common {
return
$encs
;
}
}
?>
}
\ No newline at end of file
classes/feeditem/common.php
View file @
ea79a0e0
...
...
@@ -82,5 +82,4 @@ abstract class FeedItem_Common extends FeedItem {
}
}
}
?>
}
\ No newline at end of file
classes/feeditem/rss.php
View file @
ea79a0e0
...
...
@@ -189,5 +189,4 @@ class FeedItem_RSS extends FeedItem_Common {
return
$encs
;
}
}
?>
}
\ No newline at end of file
classes/feedparser.php
View file @
ea79a0e0
...
...
@@ -283,4 +283,4 @@ class FeedParser {
return
$rv
;
}
}
?>
}
\ No newline at end of file
classes/handler.php
View file @
ea79a0e0
...
...
@@ -20,5 +20,4 @@ class Handler implements IHandler {
return
true
;
}
}
?>
}
\ No newline at end of file
classes/handler/protected.php
View file @
ea79a0e0
...
...
@@ -5,4 +5,3 @@ class Handler_Protected extends Handler {
return
parent
::
before
(
$method
)
&&
$_SESSION
[
'uid'
];
}
}
?>
classes/iauthmodule.php
View file @
ea79a0e0
...
...
@@ -2,4 +2,3 @@
interface
IAuthModule
{
function
authenticate
(
$login
,
$password
);
}
?>
classes/idb.php
View file @
ea79a0e0
...
...
@@ -11,4 +11,3 @@ interface IDb {
function
last_error
();
function
last_query_error
();
}
?>
classes/ihandler.php
View file @
ea79a0e0
...
...
@@ -4,4 +4,3 @@ interface IHandler {
function
before
(
$method
);
function
after
();
}
?>
classes/logger.php
View file @
ea79a0e0
...
...
@@ -61,5 +61,4 @@ class Logger {
return
self
::
$instance
;
}
}
?>
}
\ No newline at end of file
classes/logger/sql.php
View file @
ea79a0e0
...
...
@@ -23,5 +23,4 @@ class Logger_SQL {
return
false
;
}
}
?>
}
\ No newline at end of file
classes/logger/syslog.php
View file @
ea79a0e0
...
...
@@ -30,5 +30,4 @@ class Logger_Syslog {
}
}
?>
}
\ No newline at end of file
classes/opml.php
View file @
ea79a0e0
...
...
@@ -515,4 +515,3 @@ class Opml extends Handler_Protected {
}
?>
classes/plugin.php
View file @
ea79a0e0
...
...
@@ -40,5 +40,4 @@ class Plugin {
function
api_version
()
{
return
Plugin
::
API_VERSION_COMPAT
;
}
}
?>
}
\ No newline at end of file
classes/pluginhandler.php
View file @
ea79a0e0
...
...
@@ -18,5 +18,3 @@ class PluginHandler extends Handler_Protected {
}
}
}
?>
classes/pluginhost.php
View file @
ea79a0e0
...
...
@@ -434,5 +434,4 @@ class PluginHost {
function
get_filter_actions
()
{
return
$this
->
plugin_actions
;
}
}
?>
}
\ No newline at end of file
classes/pref/feeds.php
View file @
ea79a0e0
...
...
@@ -1976,5 +1976,4 @@ class Pref_Feeds extends Handler_Protected {
print
(
int
)
$this
->
dbh
->
fetch_result
(
$result
,
0
,
"num_inactive"
);
}
}
?>
}
\ No newline at end of file
classes/pref/filters.php
View file @
ea79a0e0
...
...
@@ -1192,5 +1192,4 @@ class Pref_Filters extends Handler_Protected {
$this
->
dbh
->
query
(
"COMMIT"
);
}
}
?>
}
\ No newline at end of file
classes/pref/labels.php
View file @
ea79a0e0
...
...
@@ -311,6 +311,4 @@ class Pref_Labels extends Handler_Protected {
print
"</div>"
;
#container
}
}
?>
}
\ No newline at end of file
classes/pref/prefs.php
View file @
ea79a0e0
...
...
@@ -1120,5 +1120,4 @@ class Pref_Prefs extends Handler_Protected {
return
""
;
}
}
?>
}
\ No newline at end of file
classes/pref/system.php
View file @
ea79a0e0
...
...
@@ -87,4 +87,3 @@ class Pref_System extends Handler_Protected {
}
}
?>
classes/pref/users.php
View file @
ea79a0e0
...
...
@@ -453,6 +453,4 @@ class Pref_Users extends Handler_Protected {
print
"</div>"
;
#container
}
}
?>
}
\ No newline at end of file
classes/rpc.php
View file @
ea79a0e0
...
...
@@ -664,5 +664,4 @@ class RPC extends Handler_Protected {
}
}
}
?>
}
\ No newline at end of file
classes/ttrssmailer.php
View file @
ea79a0e0
...
...
@@ -60,6 +60,4 @@ class ttrssMailer extends PHPMailer {
$rc
=
$this
->
send
();
return
$rc
;
}
}
?>
}
\ No newline at end of file
include/autoload.php
View file @
ea79a0e0
...
...
@@ -10,5 +10,4 @@
require
$file
;
}
}
?>
}
\ No newline at end of file
include/ccache.php
View file @
ea79a0e0
...
...
@@ -222,4 +222,4 @@
}
} */
?>
include/colors.php
View file @
ea79a0e0
...
...
@@ -348,4 +348,4 @@ function hsl2rgb($arr) {
}
return
''
;
}
?>
include/crypt.php
View file @
ea79a0e0
...
...
@@ -17,5 +17,4 @@
}
return
false
;
}
?>
}
\ No newline at end of file
include/db-prefs.php
View file @
ea79a0e0
...
...
@@ -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
include/db.php
View file @
ea79a0e0
...
...
@@ -36,5 +36,3 @@ function db_last_query_error() {
function
db_quote
(
$str
){
return
Db
::
get
()
->
quote
(
$str
);
}
?>
include/digest.php
View file @
ea79a0e0
...
...
@@ -189,4 +189,4 @@
return
array
(
$tmp
,
$headlines_count
,
$affected_ids
,
$tmp_t
);
}
?>
include/errorhandler.php
View file @
ea79a0e0
...
...
@@ -71,4 +71,4 @@ function ttrss_fatal_handler() {
register_shutdown_function
(
'ttrss_fatal_handler'
);
set_error_handler
(
'ttrss_error_handler'
);
?>
include/feedbrowser.php
View file @
ea79a0e0
...
...
@@ -110,4 +110,3 @@
return
$rv
;
}
?>
include/functions2.php
View file @
ea79a0e0
...
...
@@ -2530,4 +2530,4 @@
return
""
;
}
}
?>
include/labels.php
View file @
ea79a0e0
...
...
@@ -197,5 +197,3 @@
return
$result
;
}
?>
include/rssfuncs.php
View file @
ea79a0e0
...
...
@@ -1531,4 +1531,4 @@
PluginHost
::
getInstance
()
->
run_hooks
(
PluginHost
::
HOOK_HOUSE_KEEPING
,
"hook_house_keeping"
,
""
);
}
?>
include/sessions.php
View file @
ea79a0e0
...
...
@@ -140,4 +140,3 @@
@
session_start
();
}
}
?>
include/version.php
View file @
ea79a0e0
...
...
@@ -39,4 +39,3 @@
}
define
(
'VERSION'
,
get_version
());
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment