source: sandbox/2.3-MailArchiver/workflow/inc/engine/compiler/join_pre.php @ 6779

Revision 6779, 478 bytes checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1<?php
2//Code to be executed before a join activity
3
4$this->runtime->StartRun();
5
6//tests for access rights and lock some rows--------------------------
7if (!($this->runtime->checkUserRun($GLOBALS['user'])))
8{
9  return $this->runtime->fail(lang('You have not permission to execute this activity'), true);
10}
11
12
13if (!($GLOBALS['workflow']['__leave_activity']))
14{
15  // Set the current user for this activity
16    $this->runtime->setActivityUser();
17}
18
19$this->runtime->EndStartRun();
20?>
Note: See TracBrowser for help on using the repository browser.