Changeset 3626
- Timestamp:
- 12/23/10 12:19:38 (13 years ago)
- Location:
- branches/2.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/phpgwapi/inc/class.setup.inc.php
r3018 r3626 863 863 } 864 864 /* Load up some configured values */ 865 $this->db->query("SELECT config_name,config_value,config_app FROM phpgw_config " 866 . "WHERE config_app = 'phpgwapi' AND (config_name LIKE 'ldap%' OR config_name LIKE 'account_%' OR config_name LIKE '%encryption%')",__LINE__,__FILE__); 865 $this->db->query("SELECT config_name,config_value,config_app FROM phpgw_config " 866 . "WHERE config_app = 'phpgwapi' AND (config_name LIKE 'ldap%' OR config_name LIKE 'account_%' OR config_name LIKE '%encryption%')",__LINE__,__FILE__); 867 867 while($this->db->next_record()) 868 868 { … … 956 956 if ($rights) 957 957 { 958 $this->db->query("INSERT INTO phpgw_acl(acl_appname,acl_location,acl_account,acl_rights) VALUES('$app','$location',$account,$rights)"); 959 } 958 $this->db->query("INSERT INTO phpgw_acl(acl_appname,acl_location,acl_account,acl_rights) VALUES('$app','$location',$account,$rights);"); 959 } 960 } 961 $this->db->query("END TRANSACTION; COMMIT;"); 962 if ($this->db->Error){ 963 echo "Error in acl update"; 964 exit; 960 965 } 961 966 } -
branches/2.2/setup/index.php
r338 r3626 281 281 $db_filled_block = $db_filled_block . $setup_tpl->get_var('V_db_stage_6_post'); 282 282 $setup_tpl->set_var('V_db_filled_block',$db_filled_block); 283 /* Hack to fix database inconsistency */ 284 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_access_log ADD COLUMN browser varchar(200);"); 285 $GLOBALS['phpgw_setup']->db->query("CREATE TABLE phpgw_async ( 286 id character varying(255) NOT NULL, 287 next integer NOT NULL, 288 times character varying(255) NOT NULL, 289 method character varying(80) NOT NULL, 290 data text NOT NULL, 291 account_id integer DEFAULT 0 NOT NULL);"); 292 283 293 break; 284 294 case 10:
Note: See TracChangeset
for help on using the changeset viewer.