forked from extern/egroupware
php3 array fixes in baseline, remove double global in 1st update function
This commit is contained in:
parent
e3c937326d
commit
8911a39448
@ -26,7 +26,7 @@
|
|||||||
"cal_type" => array("type" => "varchar", "precision" => 10),
|
"cal_type" => array("type" => "varchar", "precision" => 10),
|
||||||
"cal_access" => array("type" => "char", "precision" => 10),
|
"cal_access" => array("type" => "char", "precision" => 10),
|
||||||
"cal_name" => array("type" => "varchar", "precision" => 80, "nullable" => false),
|
"cal_name" => array("type" => "varchar", "precision" => 80, "nullable" => false),
|
||||||
"cal_description" => array("type" => "text"),
|
"cal_description" => array("type" => "text")
|
||||||
),
|
),
|
||||||
"pk" => array("cal_id"),
|
"pk" => array("cal_id"),
|
||||||
"fk" => array(),
|
"fk" => array(),
|
||||||
@ -66,6 +66,6 @@
|
|||||||
"fk" => array(),
|
"fk" => array(),
|
||||||
"ix" => array(),
|
"ix" => array(),
|
||||||
"uc" => array()
|
"uc" => array()
|
||||||
),
|
)
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
function calendar_v0_9_2to0_9_3update_owner($table, $field)
|
function calendar_v0_9_2to0_9_3update_owner($table, $field)
|
||||||
{
|
{
|
||||||
global $phpgw_setup, $phpgw_setup;
|
global $phpgw_setup;
|
||||||
|
|
||||||
$phpgw_setup->oProc->query("select distinct($field) from $table");
|
$phpgw_setup->oProc->query("select distinct($field) from $table");
|
||||||
if ($phpgw_setup->oProc->num_rows())
|
if ($phpgw_setup->oProc->num_rows())
|
||||||
|
Loading…
Reference in New Issue
Block a user