Select which schemes to show
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2665250. -->
Reported by: [rudiedirkx](https://www.drupal.org/user/890274)
>>>
<p>My site has many <code>temporary</code> and <code>youtube</code> files. I don't want those to be listed in the report.</p>
<p>I added this in alpha2:</p>
<pre> if ($schemes = array_filter(variable_get('auditfiles_report_schemes', array()))) {<br> $or = db_or();<br> foreach ($schemes as $scheme) {<br> $or->condition('uri', $scheme . '://%', 'like');<br> }<br> $query->condition($or);<br> }</pre><p>but that's not how the query works anymore in dev, so that won't work.</p>
<p>I think it's a very useful addition, but I'll just keep my hacked 3.0-alpha2 =)</p>
issue