When executing "drush mbdl" on a current 6.x-2.x-dev, the following error is emitted a few hundred times

WD php: Warning: preg_match(): Delimiter must not be alphanumeric or backslash in file_scan_directory() (line 1656 of [warning] /Applications/MAMP/htdocs/drupal-7.0-alpha3/includes/file.inc).

This is caused by a change in the meaning of $mask parameter to drupal_system_listing():

* in D6 drupal_system_listing() $mask was a ereg
* in D7 drupal_system_listing() $mask is now a preg_match

Comments

joachim’s picture

Status: Active » Fixed

#781268 by joachim: Fixed drupal_system_listing() failing with drush on D7.

Fixed by putting a wrapper for this in common_version.inc.

Status: Fixed » Closed (fixed)

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