From 02304aef678478b5f51d4baafb2f315383a2e4b3 Mon Sep 17 00:00:00 2001
From: Alexander Bias <alexander.bias@uni-ulm.de>
Date: Fri, 11 Dec 2020 08:36:00 +0100
Subject: [PATCH] Prepare compatibility for Moodle 3.10

---
 .travis.yml | 2 +-
 CHANGES.md  | 1 +
 README.md   | 2 +-
 version.php | 6 +++---
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 01343c1..bcab70b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,7 @@ php:
 
 env:
  global:
-  - MOODLE_BRANCH=MOODLE_39_STABLE
+  - MOODLE_BRANCH=MOODLE_310_STABLE
  matrix:
   - DB=pgsql
   - DB=mysqli
diff --git a/CHANGES.md b/CHANGES.md
index 053bc79..7253031 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -6,6 +6,7 @@ Changes
 
 ### Unreleased
 
+* 2020-12-11 - Prepare compatibility for Moodle 3.10.
 * 2020-12-10 - Change in Moodle release support:
                For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
                Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release.
diff --git a/README.md b/README.md
index 482b45c..0aa7bd7 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Moodle authentication plugin which provides all functionality of auth_ldap, but
 Requirements
 ------------
 
-This plugin requires Moodle 3.9+
+This plugin requires Moodle 3.10+
 
 
 Motivation for this plugin
diff --git a/version.php b/version.php
index 64a922c..33d8c1c 100644
--- a/version.php
+++ b/version.php
@@ -27,7 +27,7 @@ defined('MOODLE_INTERNAL') || die();
 $plugin->component = 'auth_ldap_syncplus';
 $plugin->version = 2020091800;
 $plugin->release = 'v3.9-r1';
-$plugin->requires = 2020061500;
-$plugin->supported = [39, 39];
+$plugin->requires = 2020110900;
+$plugin->supported = [310, 310];
 $plugin->maturity = MATURITY_STABLE;
-$plugin->dependencies = array('auth_ldap' => 2020061500);
+$plugin->dependencies = array('auth_ldap' => 2020110900);
-- 
GitLab