Commit current progress.
This commit is contained in:
@@ -98,9 +98,9 @@ class FighterImporter {
|
||||
else {
|
||||
$fighters_by_div = self::getListOfCurrentFighters();
|
||||
// Process each fighter into system.
|
||||
/* foreach ($fighters_by_div as $division => $fighters) { */
|
||||
/* $this->processDivision($division, $fighters); */
|
||||
/* } */
|
||||
foreach ($fighters_by_div as $division => $fighters) {
|
||||
$this->processDivision($division, $fighters);
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
@@ -109,7 +109,7 @@ class FighterImporter {
|
||||
* @param mixed $div
|
||||
* @param mixed $fighters
|
||||
*/
|
||||
public static function processDivision($div, $fighters, &$context): void {
|
||||
public static function processDivision($div, $fighters): void {
|
||||
\Drupal::logger('ufc')->notice("Starting to update $div");
|
||||
|
||||
foreach ($fighters as $fighter_data) {
|
||||
|
||||
Reference in New Issue
Block a user