Remove require_once
This commit is contained in:
@@ -9,9 +9,6 @@ try {
|
||||
|
||||
$form = $_POST['form'];
|
||||
$CategoryUid = $form['CATEGORY_UID'];
|
||||
require_once ("classes/model/ProcessCategory.php");
|
||||
|
||||
require_once 'classes/model/Process.php';
|
||||
|
||||
//we'are looking for data into process with this CategoryUid
|
||||
$oCriteria = new Criteria( 'workflow' );
|
||||
|
||||
@@ -9,7 +9,6 @@ if ($RBAC->userCanAccess( 'PM_SETUP' ) != 1 && $RBAC->userCanAccess( 'PM_SETUP_A
|
||||
$aux = explode( '|', isset( $_GET['id'] ) ? $_GET['id'] : '' );
|
||||
$CategoryUid = str_replace( '"', '', $aux[0] );
|
||||
|
||||
require_once ("classes/model/ProcessCategory.php");
|
||||
//if exists the row in the database propel will update it, otherwise will insert.
|
||||
$tr = ProcessCategoryPeer::retrieveByPK( $CategoryUid );
|
||||
|
||||
|
||||
@@ -6,8 +6,6 @@ if ($RBAC->userCanAccess( 'PM_SETUP' ) != 1 && $RBAC->userCanAccess( 'PM_SETUP_A
|
||||
die();
|
||||
}
|
||||
|
||||
require_once ("classes/model/ProcessCategory.php");
|
||||
|
||||
$fields['CATEGORY_UID'] = G::GenerateUniqueID();
|
||||
;
|
||||
|
||||
|
||||
@@ -6,8 +6,6 @@ try {
|
||||
$CategoryName = $form['CATEGORY_NAME'];
|
||||
$CategoryIcon = $form['CATEGORY_ICON'];
|
||||
|
||||
require_once ("classes/model/ProcessCategory.php");
|
||||
|
||||
//if exists the row in the database propel will update it, otherwise will insert.
|
||||
$tr = ProcessCategoryPeer::retrieveByPK( $CategoryUid );
|
||||
$processCategory = new ProcessCategory();
|
||||
|
||||
Reference in New Issue
Block a user