Skip to content

Commit

Permalink
remove deprecated method call
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Apr 4, 2024
1 parent b882b01 commit d93f5bd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/task/sfBaseTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ protected function doRun(sfCommandManager $commandManager, $options)
return $event->getReturnValue();
}

$this->checkProjectExists();

$requiresApplication = $commandManager->getArgumentSet()->hasArgument('application') || $commandManager->getOptionSet()->hasOption('application');
if (null === $this->configuration || ($requiresApplication && !$this->configuration instanceof sfApplicationConfiguration)) {
$application = $commandManager->getArgumentSet()->hasArgument('application') ? $commandManager->getArgumentValue('application') : ($commandManager->getOptionSet()->hasOption('application') ? $commandManager->getOptionValue('application') : null);
Expand Down

0 comments on commit d93f5bd

Please sign in to comment.