Merged in marcoAntonioNina/processmaker/PM-399 (pull request #823)

PM-399 Las funcionalidades del enterprise ya no tiene SOLVED
This commit is contained in:
Julio Cesar Laura Avendaño
2014-09-26 10:04:00 -04:00
7 changed files with 82 additions and 112 deletions

View File

@@ -1162,7 +1162,7 @@ class PMPluginRegistry
} else {
$aux = explode( chr( 92 ), $detail->sFilename );
}
$sFilename = PATH_PLUGINS . $aux[count( $aux ) - 1];
$sFilename = (($detail->sNamespace == 'enterprise') ? PATH_CORE. 'methods' . PATH_SEP . 'enterprise' . PATH_SEP : PATH_PLUGINS) . $aux[count( $aux ) - 1];
if (! file_exists( $sFilename )) {
continue;
}

View File

@@ -1624,12 +1624,11 @@ class workspaceTools
}
}
public function changeHashPassword ($workspace,$response) {
G::LoadClass("patch");
public function changeHashPassword ($workspace, $response)
{
$this->initPropel( true );
$oPluginRegistry =& PMPluginRegistry::getSingleton();
$oPluginRegistry->executeTriggers ( PM_HASH_PASSWORD , $response );
G::LoadClass("enterprise");
enterpriseClass::setHashPassword($response);
}
}