$markMid]); if ($monitor) { $monitor->delete(); ZM\AuditAction('delete', 'monitor', $markMid, 'Name: '.$monitor->Name()); } } else { $error_message .= 'You do not have permission to delete monitor '.$markMid.'
'; } // end if canedit this monitor } // end foreach monitor in MarkMid } // markMids is set and we aren't limited to specific monitors } // end if action == Delete ?>