From a9722f48ec6b780784949e54517bc735127b133c Mon Sep 17 00:00:00 2001
From: Jamie Giberti <jamie.giberti@uis.cam.ac.uk>
Date: Fri, 6 Sep 2024 16:34:37 +0100
Subject: [PATCH] Added comments to changes in install file. Updated changelogs
 and version numbers for full and lite profile.

---
 src/cambridge/CHANGELOG.md             | 4 ++++
 src/cambridge/cambridge.info           | 2 +-
 src/cambridge/cambridge.install        | 1 +
 src/cambridge_lite/CHANGELOG.md        | 5 +++++
 src/cambridge_lite/cambridge_lite.info | 2 +-
 5 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/cambridge/CHANGELOG.md b/src/cambridge/CHANGELOG.md
index b1a2934..bd953c1 100755
--- a/src/cambridge/CHANGELOG.md
+++ b/src/cambridge/CHANGELOG.md
@@ -1,6 +1,10 @@
 Changelog
 =========
 
+2.10.3
+
+Modified the install file for the profile to correct an issue throwing an error when running a fresh install saying ckeditor_load_plugins function could not be found.
+
 
 2.10.2
 
diff --git a/src/cambridge/cambridge.info b/src/cambridge/cambridge.info
index e2924d3..89e891f 100755
--- a/src/cambridge/cambridge.info
+++ b/src/cambridge/cambridge.info
@@ -1,6 +1,6 @@
 name = "University of Cambridge"
 description = "Install the standard University of Cambridge features."
-version = 7.x-2.10.2
+version = 7.x-2.10.3
 core = 7.x
 
 ; core
diff --git a/src/cambridge/cambridge.install b/src/cambridge/cambridge.install
index d783112..2302336 100755
--- a/src/cambridge/cambridge.install
+++ b/src/cambridge/cambridge.install
@@ -250,6 +250,7 @@ function cambridge_install() {
     // Turn off Advanced Content Filter.
     $settings['js_conf'] = 'config.allowedContent = true;';
 
+	// Put in specific file include to handle errors occurring on install
     if (!function_exists('ckeditor_load_plugins')) {
       require_once DRUPAL_ROOT . '/profiles/cambridge/modules/contrib/ckeditor/includes/ckeditor.lib.inc';
       $plugins = ckeditor_load_plugins();
diff --git a/src/cambridge_lite/CHANGELOG.md b/src/cambridge_lite/CHANGELOG.md
index a11baad..61b1f79 100755
--- a/src/cambridge_lite/CHANGELOG.md
+++ b/src/cambridge_lite/CHANGELOG.md
@@ -1,6 +1,11 @@
 Changelog
 =========
 
+2.10.3
+
+No changes currently - only in the full profile.
+
+
 2.10.2
 
 No changes currently - only in the full profile.
diff --git a/src/cambridge_lite/cambridge_lite.info b/src/cambridge_lite/cambridge_lite.info
index 05d7872..c4a1ec7 100755
--- a/src/cambridge_lite/cambridge_lite.info
+++ b/src/cambridge_lite/cambridge_lite.info
@@ -1,6 +1,6 @@
 name = "University of Cambridge (lite)"
 description = "Install the core University of Cambridge features."
-version = 7.x-2.10.2
+version = 7.x-2.10.3
 core = 7.x
 
 ; core
-- 
GitLab