projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull merge.
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Updater
/
Updater.php
diff --git
a/web/core/lib/Drupal/Core/Updater/Updater.php
b/web/core/lib/Drupal/Core/Updater/Updater.php
index a1ba1031173987e3f67489cc599a8ec98ac35ca2..c8b35f8ce9d3da6d5909d08bab42ed0b2e2d0ce1 100644
(file)
--- 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;
namespace Drupal\Core\Updater;
-use Drupal\Component\Utility\Unicode;
use Drupal\Core\FileTransfer\FileTransferException;
use Drupal\Core\FileTransfer\FileTransfer;
use Drupal\Core\FileTransfer\FileTransferException;
use Drupal\Core\FileTransfer\FileTransfer;
@@
-112,7
+111,7
@@
class Updater {
return FALSE;
}
foreach ($info_files as $info_file) {
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;
}
// Info file Has the same name as the directory, return it.
return $info_file->uri;
}