summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-11 10:00:54 +0300
committerAndrew Dolgov <[email protected]>2018-12-11 10:00:54 +0300
commit25ca144bb775f29dfc152a87c975f1fcdb367174 (patch)
tree67e194550840c9d815d34f74194a3bfd1177af6b /include
parentfd6f3e7f073beb648ee25e08263ea9b1e6149947 (diff)
score: get correct classes for rows/score icons on the client
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/functions.php b/include/functions.php
index 20c1919a8..f44d91a15 100755
--- a/include/functions.php
+++ b/include/functions.php
@@ -1977,34 +1977,6 @@
return $filters;
}
- function get_score_pic($score) {
- if ($score > 500) {
- return "trending_up";
- } else if ($score > 0) {
- return "trending_up";
- } else if ($score < 0) {
- return "trending_down";
- } else {
- return "trending_neutral";
- }
- }
-
- function get_score_class($score) {
- if ($score > 500) {
- $score_class = "score-high";
- } else if ($score > 0) {
- $score_class = "score-half-high";
- } else if ($score < -100) {
- $score_class = "score-low";
- } else if ($score < 0) {
- $score_class = "score-half-low";
- } else {
- $score_class = "score-neutral";
- }
-
- return $score_class;
- }
-
function init_plugins() {
PluginHost::getInstance()->load(PLUGINS, PluginHost::KIND_ALL);