diff --git a/lib/Cake/Console/Command/UpgradeShell.php b/lib/Cake/Console/Command/UpgradeShell.php index 71fd8ac5f..3c619da2d 100644 --- a/lib/Cake/Console/Command/UpgradeShell.php +++ b/lib/Cake/Console/Command/UpgradeShell.php @@ -225,6 +225,7 @@ class UpgradeShell extends Shell { } $helpers = array_merge($pluginHelpers, $helpers); foreach ($helpers as $helper) { + $helper = preg_replace('/Helper$/', '', $helper); $oldHelper = strtolower(substr($helper, 0, 1)).substr($helper, 1); $patterns[] = array( "\${$oldHelper} to \$this->{$helper}",