mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 12:25:14 +02:00
Fix depreation message for old bin files
This commit is contained in:
parent
275b383be7
commit
744bf9f971
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ abstract class AbstractConsole extends Console
|
||||||
*/
|
*/
|
||||||
protected function checkDeprecated(string $command): void
|
protected function checkDeprecated(string $command): void
|
||||||
{
|
{
|
||||||
if (substr($this->executable, -strlen(CoreConsole::getDefaultExecutable())) === CoreConsole::getDefaultExecutable()) {
|
if (substr($this->executable, -strlen(CoreConsole::getDefaultExecutable())) !== CoreConsole::getDefaultExecutable()) {
|
||||||
$this->out(sprintf("'%s' is deprecated and will removed. Please use 'bin/console.php %s' instead", $this->executable, $command));
|
$this->out(sprintf("'%s' is deprecated and will removed. Please use 'bin/console.php %s' instead", $this->executable, $command));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue