public function performDeletePriceObject()
 {
     if (!$_GET['pobject_id']) {
         ilUtil::sendInfo($this->lng->txt('paya_no_object_selected'));
         $this->objectsObject();
         return true;
     }
     if (!count($_SESSION['price_ids'])) {
         ilUtil::sendInfo($this->lng->txt('paya_no_prices_selected'));
         $this->editPriceObject();
         return true;
     }
     $prices = new ilPaymentPrices((int) $_GET['pobject_id']);
     foreach ($_SESSION['price_ids'] as $price_id) {
         if ($prices->delete($price_id)) {
             ilUtil::sendInfo($this->lng->txt('paya_deleted_selected_prices'));
         }
     }
     // check if it was last price otherwise set status to 'not_buyable'
     if (!count($prices->getPrices())) {
         $this->__initPaymentObject((int) $_GET['pobject_id']);
         $this->pobject->setStatus($this->pobject->STATUS_NOT_BUYABLE);
         $this->pobject->update();
         ilUtil::sendInfo($this->lng->txt('paya_deleted_last_price'));
     }
     unset($prices);
     unset($_SESSION['price_ids']);
     return $this->editPricesObject();
 }