Correcion de code style
This commit is contained in:
@@ -71,7 +71,7 @@ class Event
|
|||||||
|
|
||||||
if ($sEventUID != '' && empty($eventsArray)) {
|
if ($sEventUID != '' && empty($eventsArray)) {
|
||||||
throw (new \Exception( 'This row doesn\'t exist!' ));
|
throw (new \Exception( 'This row doesn\'t exist!' ));
|
||||||
} else if ($sEventUID != '' && !empty($eventsArray)) {
|
} elseif ($sEventUID != '' && !empty($eventsArray)) {
|
||||||
return current($eventsArray);
|
return current($eventsArray);
|
||||||
}
|
}
|
||||||
return $eventsArray;
|
return $eventsArray;
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ class ProcessPermissions
|
|||||||
|
|
||||||
if ($sPermissionUid != '' && empty($aObjectsPermissions)) {
|
if ($sPermissionUid != '' && empty($aObjectsPermissions)) {
|
||||||
throw (new \Exception( 'This row doesn\'t exist!' ));
|
throw (new \Exception( 'This row doesn\'t exist!' ));
|
||||||
} else if ($sPermissionUid != '' && !empty($aObjectsPermissions)) {
|
} elseif ($sPermissionUid != '' && !empty($aObjectsPermissions)) {
|
||||||
$aObjectsPermissions = array_change_key_case($aObjectsPermissions, CASE_LOWER);
|
$aObjectsPermissions = array_change_key_case($aObjectsPermissions, CASE_LOWER);
|
||||||
return current($aObjectsPermissions);
|
return current($aObjectsPermissions);
|
||||||
}
|
}
|
||||||
@@ -200,9 +200,9 @@ class ProcessPermissions
|
|||||||
$sObjectUID = '';
|
$sObjectUID = '';
|
||||||
switch ($data['OP_OBJ_TYPE']) {
|
switch ($data['OP_OBJ_TYPE']) {
|
||||||
case 'ANY':
|
case 'ANY':
|
||||||
//case 'ANY_DYNAFORM':CASES_NOTES
|
//case 'ANY_DYNAFORM':CASES_NOTES
|
||||||
//case 'ANY_INPUT':
|
//case 'ANY_INPUT':
|
||||||
//case 'ANY_OUTPUT':
|
//case 'ANY_OUTPUT':
|
||||||
$sObjectUID = '';
|
$sObjectUID = '';
|
||||||
break;
|
break;
|
||||||
case 'DYNAFORM':
|
case 'DYNAFORM':
|
||||||
|
|||||||
@@ -257,3 +257,4 @@ class ActivityPropertiesStructure
|
|||||||
*/
|
*/
|
||||||
public $tas_def_message_template;
|
public $tas_def_message_template;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -157,3 +157,4 @@ class DataBaseConnection extends Api
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user