diff options
author | Andrew Dolgov <[email protected]> | 2017-04-27 00:24:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-04-27 00:24:29 +0300 |
commit | 7f4a24f8681f35d25077524692ba2236583cb732 (patch) | |
tree | 41dcc1cc2d3859ad1d8d1fd60b6138c9b520454a /plugins/import_export/init.php | |
parent | 891df346377be014bbad14c229421d92cfd332ea (diff) | |
parent | c2744831cd319fb967a83dc643bdb8b25f6c0b02 (diff) |
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'plugins/import_export/init.php')
-rw-r--r-- | plugins/import_export/init.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/import_export/init.php b/plugins/import_export/init.php index 491216e06..ec618b723 100644 --- a/plugins/import_export/init.php +++ b/plugins/import_export/init.php @@ -91,6 +91,9 @@ class Import_Export extends Plugin implements IHandler { return in_array($method, array("exportget")); } + /** + * @SuppressWarnings(PHPMD.UnusedFormalParameter) + */ function before($method) { return $_SESSION["uid"] != false; } @@ -99,6 +102,9 @@ class Import_Export extends Plugin implements IHandler { return true; } + /** + * @SuppressWarnings(unused) + */ function exportget() { $exportname = CACHE_DIR . "/export/" . sha1($_SESSION['uid'] . $_SESSION['login']) . ".xml"; @@ -468,5 +474,4 @@ class Import_Export extends Plugin implements IHandler { return 2; } -} -?> +}
\ No newline at end of file |