Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove calling to a parent that does not exists #57

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions inc/barcode.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,7 @@ function create($p_code, $p_type, $p_ext) {


function getSpecificMassiveActions($checkitem = null) {
$actions = parent::getSpecificMassiveActions($checkitem);
return $actions;
return [];
}


Expand All @@ -473,7 +472,7 @@ static function showMassiveActionsSubForm(MassiveAction $ma) {
return true;

}
return parent::showMassiveActionsSubForm($ma);
return false;
}


Expand Down Expand Up @@ -524,7 +523,7 @@ static function processMassiveActionsForOneItemtype(MassiveAction $ma, CommonDBT
return;

}
parent::processMassiveActionsForOneItemtype($ma, $item, $ids);
return;
}

}
7 changes: 3 additions & 4 deletions inc/qrcode.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,7 @@ function showFormMassiveAction(MassiveAction $ma) {


function getSpecificMassiveActions($checkitem = null) {
$actions = parent::getSpecificMassiveActions($checkitem);
return $actions;
return [];
}


Expand All @@ -350,7 +349,7 @@ static function showMassiveActionsSubForm(MassiveAction $ma) {
return true;

}
return parent::showMassiveActionsSubForm($ma);
return false;
}


Expand Down Expand Up @@ -415,7 +414,7 @@ static function processMassiveActionsForOneItemtype(MassiveAction $ma, CommonDBT
return;

}
parent::processMassiveActionsForOneItemtype($ma, $item, $ids);
return;
}


Expand Down