#242 object cache 정리

This commit is contained in:
bnu 2014-01-06 16:48:54 +09:00
parent d4d43c1382
commit 37c5e114ec
20 changed files with 513 additions and 253 deletions

View file

@ -859,6 +859,19 @@ function delObjectVars($target_obj, $del_obj)
return $return_obj;
}
function getDestroyXeVars(&$vars)
{
$del_vars = array('error_return_url', 'success_return_url', 'ruleset', 'xe_validator_id');
foreach($del_vars as $var)
{
if(is_array($vars)) unset($vars[$var]);
else if(is_object($vars)) unset($vars->$var);
}
return $vars;
}
/**
* Change error_handing to debugPrint on php5 higher
*