Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2015-11-12 22:55:41 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2015-11-12 22:55:41 +0300
commit5e0676edaa5e4de7c1eac0706b36a6b0505d9845 (patch)
treed1e22939aad816c2a3a544bc901f16cf4c38c789 /plugins/CoreConsole
parentb1fb146756f255339044784217c6b539eecd2985 (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.php4
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;
}