Removing use of low() in core classes and functions. Refs #6525

This commit is contained in:
mark_story 2009-08-27 22:46:00 -04:00
parent 7c4dfed299
commit 30f8709bb4
4 changed files with 11 additions and 11 deletions

View file

@ -173,8 +173,8 @@ class ApiShell extends Shell {
foreach ($commands as $cmd) {
$this->out("{$cmd}\n\n");
}
} elseif (isset($commands[low($this->args[1])])) {
$this->out($commands[low($this->args[1])] . "\n\n");
} elseif (isset($commands[strtolower($this->args[1])])) {
$this->out($commands[strtolower($this->args[1])] . "\n\n");
} else {
$this->out("Command '" . $this->args[1] . "' not found");
}