mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:41 +01:00
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_access" => array("type" => "char", "precision" => 10),
|
||||
"cal_name" => array("type" => "varchar", "precision" => 80, "nullable" => false),
|
||||
"cal_description" => array("type" => "text"),
|
||||
"cal_description" => array("type" => "text")
|
||||
),
|
||||
"pk" => array("cal_id"),
|
||||
"fk" => array(),
|
||||
@ -66,6 +66,6 @@
|
||||
"fk" => array(),
|
||||
"ix" => array(),
|
||||
"uc" => array()
|
||||
),
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
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");
|
||||
if ($phpgw_setup->oProc->num_rows())
|
||||
|
Loading…
Reference in New Issue
Block a user