diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2015-11-12 22:55:41 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2015-11-12 22:55:41 +0300 |
commit | 5e0676edaa5e4de7c1eac0706b36a6b0505d9845 (patch) | |
tree | d1e22939aad816c2a3a544bc901f16cf4c38c789 /plugins/CoreConsole | |
parent | b1fb146756f255339044784217c6b539eecd2985 (diff) |
Do not automatically convert first character to uppercase as a plugin does not have to start with uppercase
Diffstat (limited to 'plugins/CoreConsole')
-rw-r--r-- | plugins/CoreConsole/Commands/GeneratePluginBase.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/CoreConsole/Commands/GeneratePluginBase.php b/plugins/CoreConsole/Commands/GeneratePluginBase.php index c3fce493dc..9012839943 100644 --- a/plugins/CoreConsole/Commands/GeneratePluginBase.php +++ b/plugins/CoreConsole/Commands/GeneratePluginBase.php @@ -31,7 +31,7 @@ abstract class GeneratePluginBase extends ConsoleCommand private function getRelativePluginPath($pluginName) { - return '/plugins/' . ucfirst($pluginName); + return '/plugins/' . $pluginName; } private function createFolderWithinPluginIfNotExists($pluginNameOrCore, $folder) @@ -325,8 +325,6 @@ abstract class GeneratePluginBase extends ConsoleCommand $validate($pluginName); } - $pluginName = ucfirst($pluginName); - return $pluginName; } |