summaryrefslogtreecommitdiffstats
path: root/system/libraries/Image_lib.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-12-16 14:48:14 +0100
committerAndrey Andreev <narf@devilix.net>2016-12-16 14:48:14 +0100
commit62adbbd6cb2bc56258817efbc8f201250de6b64d (patch)
tree33d177fac5606177f3afa3038da4845e78135e81 /system/libraries/Image_lib.php
parentba03c314a0181abb1e25d47b1d90053df0eb0ef4 (diff)
[ci skip] Remove a function_exists() call from CI_Image_lib
We use this function elsewhere without checking for existence; nobody has complained
Diffstat (limited to 'system/libraries/Image_lib.php')
-rw-r--r--system/libraries/Image_lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 475649c46..884d0dcec 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -1194,7 +1194,7 @@ class CI_Image_lib {
}
// Build the finalized image
- if ($wm_img_type === 3 && function_exists('imagealphablending'))
+ if ($wm_img_type === 3)
{
@imagealphablending($src_img, TRUE);
}