On uninstall of the Releases module, the following Fatal error happens.
PHP Fatal error: Call to undefined function system_schema()

Loading of the systems cache schema, should be updated to use the drupal_get_schema_unprocessed() function instead.

$schema['cache_project_release_download_table'] = drupal_get_schema_unprocessed('system', 'cache');

Comments

  • dww committed 48a14e8 on 7.x-2.x
    [#2135823]: Use drupal_get_schema_unprocessed() instead of system_schema...
dww’s picture

Assigned: Unassigned » dww
Status: Active » Fixed

I couldn't reproduce the bug on my local test site. But I agree that drupal_get_schema_unprocessed() is better than system_schema() here, so I just pushed a commit to change it. Tested a fresh install and the {cache_project_release_download_table} is getting created properly after the fix.

Status: Fixed » Closed (fixed)

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