Removed unused code, fixed undefined variables

This commit is contained in:
Shoghi Cervantes
2014-10-11 22:22:51 +02:00
parent bf89ea1cf6
commit ebb844fa52
16 changed files with 14 additions and 29 deletions

View File

@ -247,9 +247,8 @@ class ServerScheduler{
$this->asyncPool->collect([$this, "collectAsyncTask"]);
if($this->asyncTasks > 0){
//TODO: remove this workaround
foreach($this->asyncTaskStorage as $task){
$this->collectAsyncTask($task);
foreach($this->asyncTaskStorage as $asyncTask){
$this->collectAsyncTask($asyncTask);
}
}
}