/**
  * @see PackageInstallationQueue::calcProgress()
  */
 protected function calcProgress($currentStep)
 {
     if ($this->parentQueueID == 0) {
         parent::calcProgress($currentStep);
     }
 }
 /**
  * @see PackageInstalltionQueue::calcProgress()
  */
 protected function calcProgress($currentStep)
 {
     if (!$this->progressPackage || $this->packageType == 'optional') {
         return;
     }
     parent::calcProgress($currentStep);
 }