aboutsummaryrefslogtreecommitdiff
path: root/lib/task
diff options
context:
space:
mode:
Diffstat (limited to 'lib/task')
-rw-r--r--lib/task/isisBatchTask.class.php18
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/task/isisBatchTask.class.php b/lib/task/isisBatchTask.class.php
index 02cb526..a025691 100644
--- a/lib/task/isisBatchTask.class.php
+++ b/lib/task/isisBatchTask.class.php
@@ -51,23 +51,7 @@ EOF;
for ($offset = 0; $offset <= $max; $offset = $offset + $rows)
{
- $pid = pcntl_fork();
- if ($pid == -1)
- {
- die('Could not fork.');
- }
- else if ($pid)
- {
- // We are the parent.
- // Protect against Zombie children.
- pcntl_wait($status);
- }
- else
- {
- // We are the child.
- // Mass ISIS import.
- $isis->massImport($this, 'task', $rows, $offset, $database);
- }
+ passthru("php symfony isis:import --database=$database --loglevel=". $options['loglevel'] ." $rows $offset");
}
}
}