fixed drush script

This commit is contained in:
Bachir Soussi Chiadmi 2022-02-23 11:16:15 +01:00
parent 048c5ac2b6
commit 2482760609
1 changed files with 4 additions and 2 deletions

View File

@ -72,7 +72,8 @@ $this->output()->writeln($fc_missing_relatedflag .' flagging_collection with mis
function delete_flagingcollection($fc){
if($delete){
$this->output()->writeln("Deleting flagging collection " . $fc->id);
// $this is not working in function
// $this->output()->writeln("Deleting flagging collection " . $fc->id);
// get flag list items
$flifd_query = $database->select('flag_list_item_field_data', 'flifd')
->condition('flifd.flag_list', $fc->id)
@ -118,7 +119,8 @@ function delete_flagingcollection($fc){
->execute();
} else {
$this->output()->writeln("In order to actually delete fault flagging collection data please use delete option");
// $this is not working in function
// $this->output()->writeln("In order to actually delete fault flagging collection data please use delete option");
}
}