Browse Source

Update output text

Alan Lam 9 months ago
parent
commit
b351732185
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tasks/import_venues.php

+ 2 - 2
tasks/import_venues.php

@@ -342,7 +342,7 @@ for($i = 0; $data = fgetcsv($handle); $i++) {
 // Archive missing locations
 if($archive_missing) {
 	foreach($missing_locations as $missing_location) {
-		echo sprintf("Location#%s - %s archived.\n", $missing_location->id, $missing_location->name);
+		echo sprintf("Location#%s - %s (Internal ID: %s) archived.\n", $missing_location->id, $missing_location->name, $missing_location->internal_id);
 
 		$missing_location->archived = 1;
 
@@ -377,7 +377,7 @@ foreach($projects as $project) {
 	foreach($tests as $test) {
 		$location = $test->getLocation();
 
-		echo "Test#{$test->id} for Location#{$location->id} in Project#{$project->id} should be removed.\n";
+		echo "Test#{$test->id} for Location#{$location->id} - {$location->name} (Internal ID: {$location->internal_id}) in Project#{$project->id} - {$project->name} should be removed.\n";
 
 		fputcsv($handle, [
 			$project->name,