From 5c0315c64786e15f7679c860741b8292734e741e Mon Sep 17 00:00:00 2001 From: Marc Michalsky forumZFD Date: Thu, 15 Oct 2020 11:03:01 +0200 Subject: [PATCH] add important To Do's --- CRM/TwingleCampaign/Upgrader.php | 2 ++ api/v3/TwingleSync/BAO/TwingleApiCall.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CRM/TwingleCampaign/Upgrader.php b/CRM/TwingleCampaign/Upgrader.php index a1e4f62..e86b677 100644 --- a/CRM/TwingleCampaign/Upgrader.php +++ b/CRM/TwingleCampaign/Upgrader.php @@ -12,6 +12,8 @@ include E::path() . '/CRM/TwingleCampaign/BAO/CustomGroup.php'; */ class CRM_TwingleCampaign_Upgrader extends CRM_TwingleCampaign_Upgrader_Base { + // TODO: Add static arrays from json files + // By convention, functions that look like "function upgrade_NNNN()" are // upgrade tasks. They are executed in order (like Drupal's hook_update_N). diff --git a/api/v3/TwingleSync/BAO/TwingleApiCall.php b/api/v3/TwingleSync/BAO/TwingleApiCall.php index f7aa329..3c6a86a 100644 --- a/api/v3/TwingleSync/BAO/TwingleApiCall.php +++ b/api/v3/TwingleSync/BAO/TwingleApiCall.php @@ -51,6 +51,8 @@ class TwingleApiCall { * If $id parameter is empty, this function returns all projects for all * organisations this API key is assigned to. * + * TODO: Keys can only get assigned to one organisation. Save multiple keys in settings instead. + * * If $id parameter is given, this function returns a single project. * * @param null $projectId