Opsync working

This commit is contained in:
Victor Dubiniuk 2013-08-07 19:01:50 +03:00 committed by Tobias Hintze
parent 013bf8eb6e
commit 354f059d92

View File

@ -39,10 +39,12 @@ class Op {
} }
public static function getOpsAfterJson($esId, $seq){ public static function getOpsAfterJson($esId, $seq){
return array_map( $ops =self::getOpsAfter($esId, $seq);
json_decode, $ops = array_map(
self::getOpsAfter($esId, $seq) function($x){return json_decode($x['opspec']);},
$ops
); );
return $ops;
} }
public static function getOpsAfter($esId, $seq){ public static function getOpsAfter($esId, $seq){