summaryrefslogtreecommitdiff
path: root/plugins/managesieve/lib
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-02-09 10:01:07 +0000
committeralecpl <alec@alec.pl>2010-02-09 10:01:07 +0000
commit5c54cc0ee6de44960bbc4cfab3d456a4805a0692 (patch)
tree36253f80a8c3342e8208273b24ec7fae044fe09d /plugins/managesieve/lib
parent33ea0c7ace254d8590d019ab08862b44144a54de (diff)
- don't use dl(): http://pear.php.net/bugs/bug.php?id=17038
Diffstat (limited to 'plugins/managesieve/lib')
-rw-r--r--plugins/managesieve/lib/Net/Sieve.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/managesieve/lib/Net/Sieve.php b/plugins/managesieve/lib/Net/Sieve.php
index be52540f4..b2549eed9 100644
--- a/plugins/managesieve/lib/Net/Sieve.php
+++ b/plugins/managesieve/lib/Net/Sieve.php
@@ -1169,9 +1169,7 @@ class Net_Sieve
*/
function _getLineLength($string)
{
- if (extension_loaded('mbstring')
- || @dl(PHP_SHLIB_PREFIX . 'mbstring.' . PHP_SHLIB_SUFFIX)
- ) {
+ if (extension_loaded('mbstring')) {
return mb_strlen($string, 'latin1');
} else {
return strlen($string);