summaryrefslogtreecommitdiff
path: root/include/functions2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-04-26 15:29:22 +0300
committerAndrew Dolgov <[email protected]>2017-04-26 15:29:22 +0300
commit7b55001eeeb326323d020dcfac2f864f8c3ad633 (patch)
tree92b09e0349b49b1741a8b45172974addb136fbc5 /include/functions2.php
parentb49bb441f4fc722911794e80366d37df626a5613 (diff)
fix various issues reported by static analysis
update gitlab-ci config
Diffstat (limited to 'include/functions2.php')
-rw-r--r--include/functions2.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 844693654..f9ee8245f 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -1557,7 +1557,7 @@
}
} // function encrypt_password
- function load_filters($feed_id, $owner_uid, $action_id = false) {
+ function load_filters($feed_id, $owner_uid) {
$filters = array();
$cat_id = (int)getFeedCategory($feed_id);
@@ -1655,7 +1655,7 @@
return true;
}
- function format_tags_string($tags, $id) {
+ function format_tags_string($tags) {
if (!is_array($tags) || count($tags) == 0) {
return __("no tags");
} else {
@@ -1675,7 +1675,7 @@
}
}
- function format_article_labels($labels, $id) {
+ function format_article_labels($labels) {
if (!is_array($labels)) return '';
@@ -2484,6 +2484,9 @@
return false;
}
+ /**
+ * @SuppressWarnings(unused)
+ */
function error_json($code) {
require_once "errors.php";