HOR-2108
This commit is contained in:
@@ -1166,9 +1166,9 @@ class Cases
|
||||
\G::LoadClass("configuration");
|
||||
$conf = new \Configurations();
|
||||
$confEnvSetting = $conf->getFormats();
|
||||
//verifica si existe la tabla OBJECT_PERMISSION
|
||||
|
||||
$cases = new \cases();
|
||||
$cases->verifyTable();
|
||||
|
||||
$listing = false;
|
||||
$oPluginRegistry = & \PMPluginRegistry::getSingleton();
|
||||
if ($oPluginRegistry->existsTrigger(PM_CASE_DOCUMENT_LIST)) {
|
||||
@@ -1464,9 +1464,9 @@ class Cases
|
||||
\G::LoadClass("configuration");
|
||||
$conf = new \Configurations();
|
||||
$confEnvSetting = $conf->getFormats();
|
||||
//verifica si la tabla OBJECT_PERMISSION
|
||||
|
||||
$cases = new \cases();
|
||||
$cases->verifyTable();
|
||||
|
||||
$listing = false;
|
||||
$oPluginRegistry = & \PMPluginRegistry::getSingleton();
|
||||
if ($oPluginRegistry->existsTrigger(PM_CASE_DOCUMENT_LIST)) {
|
||||
|
||||
@@ -180,7 +180,6 @@ class ChangeLog
|
||||
{
|
||||
G::LoadClass('case');
|
||||
$oCase = new Cases();
|
||||
$oCase->verifyTable();
|
||||
$this->permissions = $oCase->getAllObjects(
|
||||
$PRO_UID, $APP_UID, $TAS_UID, $_SESSION['USER_LOGGED']
|
||||
);
|
||||
|
||||
@@ -32,7 +32,7 @@ class ProcessPermissions
|
||||
}
|
||||
|
||||
G::LoadClass('case');
|
||||
Cases::verifyTable();
|
||||
|
||||
$aObjectsPermissions = array();
|
||||
$oCriteria = new \Criteria('workflow');
|
||||
$oCriteria->add(ObjectPermissionPeer::PRO_UID, $pro_uid);
|
||||
|
||||
Reference in New Issue
Block a user