X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FUpdater%2FUpdater.php;h=c8b35f8ce9d3da6d5909d08bab42ed0b2e2d0ce1;hb=refs%2Fheads%2Fd864;hp=a1ba1031173987e3f67489cc599a8ec98ac35ca2;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Updater/Updater.php b/web/core/lib/Drupal/Core/Updater/Updater.php index a1ba10311..c8b35f8ce 100644 --- a/web/core/lib/Drupal/Core/Updater/Updater.php +++ b/web/core/lib/Drupal/Core/Updater/Updater.php @@ -2,7 +2,6 @@ namespace Drupal\Core\Updater; -use Drupal\Component\Utility\Unicode; use Drupal\Core\FileTransfer\FileTransferException; use Drupal\Core\FileTransfer\FileTransfer; @@ -112,7 +111,7 @@ class Updater { return FALSE; } foreach ($info_files as $info_file) { - if (Unicode::substr($info_file->filename, 0, -9) == drupal_basename($directory)) { + if (mb_substr($info_file->filename, 0, -9) == drupal_basename($directory)) { // Info file Has the same name as the directory, return it. return $info_file->uri; }