private function makeSyncUpdate($active, $json, $operation) { if ($active or $operation == 'Update') { $syncController = new Controller\SyncController(); $syncController->destEntry($json, $operation); } }