Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Refactored filterActionsFromRegistry to filterRegistryFromRole
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jul 10, 2013
1 parent 9e5e040 commit 76309f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/plugins/gui.ajax/class.AJXP_ClientDriver.php
Expand Up @@ -114,7 +114,7 @@ function switchAction($action, $httpVars, $fileVars)
case "get_xml_registry" :

$regDoc = AJXP_PluginsService::getXmlRegistry();
$changes = AJXP_Controller::filterActionsRegistry($regDoc);
$changes = AJXP_Controller::filterRegistryFromRole($regDoc);
if($changes) AJXP_PluginsService::updateXmlRegistry($regDoc);

$clone = $regDoc->cloneNode(true);
Expand Down Expand Up @@ -206,7 +206,7 @@ function switchAction($action, $httpVars, $fileVars)

// PRECOMPUTE REGISTRY
$regDoc = AJXP_PluginsService::getXmlRegistry();
$changes = AJXP_Controller::filterActionsRegistry($regDoc);
$changes = AJXP_Controller::filterRegistryFromRole($regDoc);
if($changes) AJXP_PluginsService::updateXmlRegistry($regDoc);
$START_PARAMETERS["PRELOADED_REGISTRY"] = AJXP_XMLWriter::replaceAjxpXmlKeywords($regDoc->saveXML());
$JSON_START_PARAMETERS = json_encode($START_PARAMETERS);
Expand Down

0 comments on commit 76309f1

Please sign in to comment.