source: branches/1.2/workflow/inc/engine/compiler/start_pre.php @ 1349

Revision 1349, 342 bytes checked in by niltonneto, 15 years ago (diff)

Ticket #561 - Inclusão do módulo Workflow faltante nessa versão.

  • Property svn:executable set to *
Line 
1<?php
2//Code to be executed before a start 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$this->runtime->EndStartRun();
13?>
Note: See TracBrowser for help on using the repository browser.