[Tutos-commits] tutos/php/mailbox mailbox.pinc,1.39,1.40
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
From: Gero K. <gok...@us...> - 2010-04-08 14:47:04
|
Update of /cvsroot/tutos/tutos/php/mailbox In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv12932/mailbox Modified Files: mailbox.pinc Log Message: intermediate (do not use) Index: mailbox.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/mailbox/mailbox.pinc,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- mailbox.pinc 17 Feb 2010 20:25:27 -0000 1.39 +++ mailbox.pinc 8 Apr 2010 14:46:56 -0000 1.40 @@ -46,7 +46,7 @@ $this->orgpath = $this->path ; $this->addpath = '' ; $this->tablename = $this->dbconn->prefix ."mailboxes"; - $this->acl[$current_user->id] = $tutos[modok]; + acl_raise($this,$current_user->id,$tutos[modok]); } /** * read the data from DB result @@ -517,10 +517,10 @@ $q->addFV("id",$this->id,""); } else { $this->id = $q->addFV("id",-1,"NEXTID"); -# Defaut Access Control + // Defaut Access Control $this->acl = $this->parent->acl; - $this->acl[$current_user->id] = $tutos[delok]; acl_default($this,$current_user); + acl_raise($this,$current_user->id,$tutos[delok]); $this->modified[] = array ( "field" => "MailboxCreate" , "old" => "-1" , |