Uninstall using drupal_install_schema instead of drupal_uninstall_schema

Tim_O - November 7, 2009 - 19:23
Project:OG Aggregator
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

When looking into the code I noticed the following in the modules .install file:

function og_aggregator_install() {
  drupal_install_schema('og_aggregator');
}
function og_aggregator_uninstall() {
  drupal_install_schema('og_aggregator');
}

While I have no knowledge about these function-calls it simple "feels" wrong. There also is an according uninstall function, so this probably needs to get fixed? I don't know if that needs any other parameters or needs to be addressed in according definitions or something, so please

#1

Taz - November 7, 2009 - 23:18
Version:6.x-1.2» 6.x-1.3
Status:active» fixed

Fixed and in latest release, thanks for pointing this out. Must have been a copy & paste error.

#2

System Message - November 21, 2009 - 23:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.