diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-27 11:47:42 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-27 11:47:42 +0200 |
commit | 6075f084ecbff71490fc5594f2d9470d87938317 (patch) | |
tree | a6181b02b426780ffc73a4fb939b59d6a3c8b642 /program/include/rcube_mime.php | |
parent | 4c127375ce2c560ad60c61b0ec3ec5cc21405d4f (diff) |
Fix deprecated functions usage
Diffstat (limited to 'program/include/rcube_mime.php')
-rw-r--r-- | program/include/rcube_mime.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_mime.php b/program/include/rcube_mime.php index e1f736a78..d8e04a97c 100644 --- a/program/include/rcube_mime.php +++ b/program/include/rcube_mime.php @@ -541,10 +541,10 @@ class rcube_mime $prefix = $regs[0]; $level = strlen($prefix); $line = rtrim(substr($line, $level)); - $line = $prefix . rc_wordwrap($line, $length - $level - 2, " \r\n$prefix "); + $line = $prefix . self::wordwrap($line, $length - $level - 2, " \r\n$prefix "); } else if ($line) { - $line = rc_wordwrap(rtrim($line), $length - 2, " \r\n"); + $line = self::wordwrap(rtrim($line), $length - 2, " \r\n"); // space-stuffing $line = preg_replace('/(^|\r\n)(From| |>)/', '\\1 \\2', $line); } |