From 84ae185820727a7418d93b134a0f0ee393fb9e47 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 12 Jun 2018 22:19:21 -0700 Subject: [PATCH] Afform.create API - More FIXMEs --- ext/afform/api/v3/Afform/Create.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/afform/api/v3/Afform/Create.php b/ext/afform/api/v3/Afform/Create.php index 8381482432..412e721b19 100644 --- a/ext/afform/api/v3/Afform/Create.php +++ b/ext/afform/api/v3/Afform/Create.php @@ -62,5 +62,8 @@ function civicrm_api3_afform_create($params) { // FIXME check for writability then success. Report errors. } + // FIXME if `server_route` changes, then flush the menu cache. + // FIXME if asset-caching is enabled, then flush the asset cache. + return civicrm_api3_create_success($updates, $params, 'Afform', 'create'); } -- 2.25.1