module ActiveLdap::Operations::ClassOnlyDelete

def delete(targets, options={})

def delete(targets, options={})
  targets = [targets] unless targets.is_a?(Array)
  targets = targets.collect do |target|
    ensure_dn_attribute(ensure_base(target))
  end
  delete_entry(targets, options)
end

def destroy(targets, options={})

def destroy(targets, options={})
  targets = [targets] unless targets.is_a?(Array)
  targets.each do |target|
    find(target, options).destroy
  end
end