User Delete makes use of the php scandir() function which is not supported in PHP 4.x. PHP 4.x is still supported by Drupal 6.x. This bug can be triggered by deleteing a user from a site and all of their content, then running cron. Cron will not succeed and the following message will be displayed:
"Fatal error: Call to undefined function: scandir() in /hsphere/local/home/kathyann/caribexams.org/sites/all/modules/user_delete/user_delete.module on line 282"
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | user_delete-850438.patch | 1.09 KB | ilo |
Comments
Comment #1
sanduhrsThis module is a backport from D7 functionality.
The requirements [1] say:
You are very welcome, if you want to provide a patch, though.
regards.
[1] http://drupal.org/requirements
Comment #2
ilo commentedIncluded a compat function to work with php 4 also.
Comment #3
ilo commentedI'll commit this with some coder review changes also.
Comment #4
ilo commentedCommitted to DRUPAL-6--1: http://drupal.org/cvs?commit=432186