Need $request globally in this function

This commit is contained in:
Andrew McMillan 2012-04-19 18:01:04 +12:00
parent 2115926b5d
commit d2d12bbe04

View File

@ -104,8 +104,8 @@ $cache_delete_list = array();
$qry = new AwlQuery('BEGIN');
$qry->Exec('ACL',__LINE__,__FILE__);
function process_ace( $grantor, $by_principal, $by_collection, $ace ) {
global $cache_delete_list;
function process_ace( $grantor, $by_principal, $by_collection, XMLElement $ace ) {
global $cache_delete_list, $request;
$elements = $ace->GetContent();
$principal_node = $elements[0];