getAll(); $sql = 'UPDATE vtiger_wf_repository SET status = ? WHERE id = ?'; $adb->pquery($sql, array($params['status'], $params['repo_id'])); } }