Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ui/include/images.inc.php')
-rw-r--r--ui/include/images.inc.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/ui/include/images.inc.php b/ui/include/images.inc.php
index 2a3258369ac..05e2a487237 100644
--- a/ui/include/images.inc.php
+++ b/ui/include/images.inc.php
@@ -37,22 +37,11 @@ function get_image_by_imageid($imageid) {
if (!isset($images[$imageid])) {
$row = DBfetch(DBselect('SELECT i.* FROM images i WHERE i.imageid='.zbx_dbstr($imageid)));
- $row['image'] = zbx_unescape_image($row['image']);
$images[$imageid] = $row;
}
return $images[$imageid];
}
-function zbx_unescape_image($image) {
- global $DB;
-
- $result = $image ? $image : 0;
- if ($DB['TYPE'] == ZBX_DB_POSTGRESQL) {
- $result = pg_unescape_bytea($image);
- }
- return $result;
-}
-
/**
* Resizes the given image resource to the specified size keeping the original
* proportions of the image.