Updates before update on BpmnWorkflow Adapter

This commit is contained in:
Erik Amaru Ortiz
2014-02-19 19:32:19 -04:00
parent 76d83bc376
commit 00ebbeff0d
4 changed files with 37 additions and 32 deletions

View File

@@ -90,6 +90,16 @@ abstract class Handler
return $result;
}
public static function isEquals($array, $arrayCompare)
{
ksort($array);
ksort($arrayCompare);
self::log($array, $arrayCompare);
//$ret = array_diff_assoc($array, $arrayCompare);
return (self::getChecksum($array) === self::getChecksum($arrayCompare));
}
/**
* Log in ProcessMaker Standard Output if debug mode is enabled.
*