Improvement enable features enterprise

This commit is contained in:
Marco Antonio Nina
2014-10-10 16:17:07 -04:00
parent 3152dd7661
commit ea42cf711b
8 changed files with 41 additions and 20 deletions

View File

@@ -1668,7 +1668,13 @@ class workspaceTools
{
$this->initPropel( true );
G::LoadClass("enterprise");
enterpriseClass::setHashPassword($response);
$licensedFeatures = & PMLicensedFeatures::getSingleton();
if ($licensedFeatures->verifyfeature('95OY24wcXpEMzIyRmlNSnF0STNFSHJzMG9wYTJKekpLNmY2ZmRCeGtuZk5oUDloaUNhUGVjTDJBPT0=')) {
enterpriseClass::setHashPassword($response);
} else {
return false;
}
return true;
}
public function verifyEnterprise ($workspace)