init
This commit is contained in:
16
modules/ContactLeads/multidelete.php
Normal file
16
modules/ContactLeads/multidelete.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
if($_REQUEST['mass']!=""){
|
||||
$ids=$_REQUEST['mass'];
|
||||
|
||||
$contactLeads = new ContactLead();
|
||||
$contactLeads=$contactLeads->get_full_list("", "contactleads.id in ('".implode("','",$ids)."')");
|
||||
|
||||
foreach ($contactLeads as $contactLead){
|
||||
$contactLead->mark_deleted($contactLead->id);
|
||||
|
||||
}
|
||||
|
||||
header("Location: index.php?module=ContactLeads&action=index");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user