~ubuntu-branches/ubuntu/utopic/moodle/utopic

« back to all changes in this revision

Viewing changes to lib/html2text.php

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-05-12 16:10:38 UTC
  • mfrom: (36.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140512161038-puyqf65k4e0s8ytz
Tags: 2.6.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
736
736
    {
737
737
        $str = html_entity_decode($str, ENT_COMPAT, RCMAIL_CHARSET);
738
738
 
739
 
        if (class_exists('textlib'))
740
 
            $str = textlib::strtoupper($str);
 
739
        if (class_exists('core_text'))
 
740
            $str = core_text::strtoupper($str);
741
741
        else if (function_exists('mb_strtoupper'))
742
742
            $str = mb_strtoupper($str);
743
743
        else