Ignore:
Timestamp:
09/15/10 17:06:46 (14 years ago)
Author:
pereira.jair
Message:

Ticket #1186 - Alterado modulo administrativo do organograma p/ definir diferentes niveis de usuarios.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/workflow/setup/tables_update.inc.php

    r3167 r3255  
    194194                        /* adding primary key without the column removed */ 
    195195                        $GLOBALS['phpgw']->ADOdb->query('ALTER TABLE egw_wf_interinstance_relations ADD CONSTRAINT egw_wf_interinstance_relations_pkey PRIMARY KEY (wf_parent_instance_id, wf_child_instance_id)'); 
     196                         
     197                        /* Update the organogram level of administration off all users from 0 to 1. */ 
     198                        $GLOBALS['phpgw']->ADOdb->query('UPDATE egw_wf_admin_access set nivel = 1 WHERE tipo = \'ORG\' and nivel = 0'); 
    196199                } 
    197200 
Note: See TracChangeset for help on using the changeset viewer.