My site has many temporary and youtube files. I don't want those to be listed in the report.

I added this in alpha2:

  if ($schemes = array_filter(variable_get('auditfiles_report_schemes', array()))) {
    $or = db_or();
    foreach ($schemes as $scheme) {
      $or->condition('uri', $scheme . '://%', 'like');
    }
    $query->condition($or);
  }

but that's not how the query works anymore in dev, so that won't work.

I think it's a very useful addition, but I'll just keep my hacked 3.0-alpha2 =)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rudiedirkx created an issue. See original summary.

oadaeh’s picture

Version: 7.x-3.0-alpha2 » 7.x-3.x-dev
Category: Feature request » Bug report

I had meant to make sure this wasn't happening, but unfortunately, I didn't write it down or record it anywhere, and so it slipped my mind.
I think it would be best in the exclusions function, and so that's where I will put the code.
Also, it should be in both the Not in database and Not on server reports.

oadaeh’s picture

Component: Not on server report » Not in database report
Status: Active » Needs review
FileSize
1.51 KB

The attached patch fixes the problem.
It was only the Not in database report.
See if it also fixes the problem.

  • oadaeh committed 1302537 on 7.x-3.x
    Issue #2665250 by oadaeh, rudiedirkx: Select which schemes to show
    
oadaeh’s picture

Status: Needs review » Fixed

The patch was committed to the 3.x-dev branch.
A 7.x-3.0 release that includes it will be created momentarily.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.