Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Commands/CustomTableOrphansCleanupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/ExtractMetadataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/FileSystemBenchmarkCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/GenerateMetadataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/LogicHooksUsageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/MaintenanceOffCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/MaintenanceOnCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
4 changes: 2 additions & 2 deletions src/Commands/MassModuleRetrievalCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$filter = $input->getOption('filter');

if (!empty($url) && !empty($user) && !empty($pass) && !empty($module) && !empty($dir) && !empty($limit)) {
$logic = new Sugar\Logic\MassRetrieverApi($url, 'base', $user, $pass, $module);
$logic = new Sugar\Logic\MassRetrieverApi($url, 'base', $user, $pass, $module);
$logic->setLogger($output);
$output->writeln('Executing retrival of the records for module ' . $module . ' in chunks of ' . $limit . ' records, from offset ' . $offset . ' and saving them into ' . $dir . ' ...');
$output->writeln('Connecting to url ' . $url . '...');
Expand All @@ -55,6 +55,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
} else {
$output->writeln('Please make sure all required parameters are passed correctly to the command. Check with --help for the correct syntax');
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/MySQLOptimizeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/MySQLOptimizeWithIndexManipulationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/RBVUsageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/RecordCountCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/RepairCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/RepairMissingTablesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/RestoreRecordCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/SugarBPMAnalysisCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/SugarBPMFlowCleanupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/SugarFormulasUsageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln($instance . ' does not contain a valid Sugar installation. Aborting...');
}
}
return 1;
return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/Commands/TeamSetCleanupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
}
}
return 1;
return Command::SUCCESS;
}
}