Browse Source

Removed extra code.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
fae44063f6
  1. 3
      framework/yii/helpers/base/StringHelper.php

3
framework/yii/helpers/base/StringHelper.php

@ -24,9 +24,6 @@ class StringHelper
*/ */
public static function strlen($string) public static function strlen($string)
{ {
if (!function_exists('mb_strlen')) {
throw new \Exception('here');
}
return mb_strlen($string, '8bit'); return mb_strlen($string, '8bit');
} }

Loading…
Cancel
Save