Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi! The source attach (ftp) function file_scan_directory is using the D6 parameters.
6 file.inc file_scan_directory($dir, $mask, $nomask = array('.', '..', 'CVS'), $callback = 0, $recurse = TRUE, $key = 'filename', $min_depth = 0, $depth = 0)
7 file.inc file_scan_directory($dir, $mask, $options = array(), $depth = 0)
Comment | File | Size | Author |
---|---|---|---|
#1 | filefield_sources-source_attach_file_scan_directory_not_ported_D7-1891000.patch | 633 bytes | GeduR |
Comments
Comment #1
GeduR CreditAttribution: GeduR commentedHere is the patch to port,
I let the default umask values from the drupal core function, I don't know why in current versión it's ignoring .svn files and no others like .git etc..
Comment #2
poniesPatch works well for me. Thanks!
Comment #3
quicksketchThanks! Committed. Next time please mark "needs review" (and then RTBC in #2) so this bubbles up in my review process. Thanks!