mirror of
https://github.com/friendica/friendica
synced 2025-01-19 22:59:46 +00: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
Reference in a new issue