PM-399 Las funcionalidades del enterprise ya no tiene SOLVED

- A validation was added when use plugin.singleton.
This commit is contained in:
Marco Antonio Nina
2014-09-25 16:55:16 -04:00
parent 92d699a7ae
commit d5d50e724c
7 changed files with 82 additions and 112 deletions

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);
}
}