Incorrectly switching by $GLOBALS['dbtype'] in panels.install

stormsweeper - May 30, 2007 - 22:37
Project:Panels
Version:5.x-2.0-alpha7
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Simple enough, the key should be db_type. It will work for may people as is, since the default option in the switch is grouped with the mysql and mysqli options.

Attached is a patch that changes the key, and removes the default options from the switches in panels_install() and panels_uninstall()

AttachmentSize
panels-install.txt1.1 KB

#1

stormsweeper - May 30, 2007 - 22:40

To clarify, the patch is against the DRUPAL-5 branch. The 2.0 alpha version doesn't support pgsql at all currently.

#2

stormsweeper - August 14, 2007 - 15:38
Version:5.x-1.2» 5.x-2.0-alpha7

First reported this for 5.x-1.2, but it's still in the CVS for the latest alphas.

#3

merlinofchaos - August 24, 2007 - 02:37
Status:patch (code needs review)» fixed

Fixed in 2.x-dev. Thanks!

#4

Anonymous - September 7, 2007 - 02:44
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.