From 83f007bf398ae7f2a4d87a48245fd82a43b74c38 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 28 Jan 2004 04:27:57 +0000 Subject: [PATCH] Define minimum required versions of Moodle --- mod/assignment/version.php | 1 + mod/attendance/version.php | 3 ++- mod/chat/version.php | 1 + mod/choice/version.php | 1 + mod/dialogue/version.php | 1 + mod/exercise/version.php | 1 + mod/forum/version.php | 3 ++- mod/glossary/version.php | 1 + mod/journal/version.php | 1 + mod/label/version.php | 1 + mod/quiz/version.php | 1 + mod/resource/version.php | 1 + mod/survey/version.php | 3 ++- mod/workshop/version.php | 1 + 14 files changed, 17 insertions(+), 3 deletions(-) diff --git a/mod/assignment/version.php b/mod/assignment/version.php index a6b7176f9a2..ec95629f62b 100644 --- a/mod/assignment/version.php +++ b/mod/assignment/version.php @@ -6,6 +6,7 @@ //////////////////////////////////////////////////////////////////////////////// $module->version = 2003091000; +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 60; ?> diff --git a/mod/attendance/version.php b/mod/attendance/version.php index 67d52e2fe2c..6a4c7c373ad 100644 --- a/mod/attendance/version.php +++ b/mod/attendance/version.php @@ -6,6 +6,7 @@ ///////////////////////////////////////////////////////////////////////////////// $module->version = 2003092501; // The current module version (Date: YYYYMMDDXX) -$module->cron = 3600; // Period for cron to check this module (secs) +$module->requires = 2004010100; // Requires this Moodle version +$module->cron = 3600; // Period for cron to check this module (secs) ?> diff --git a/mod/chat/version.php b/mod/chat/version.php index 32d0580099c..cbc6075dec6 100644 --- a/mod/chat/version.php +++ b/mod/chat/version.php @@ -6,6 +6,7 @@ ///////////////////////////////////////////////////////////////////////////////// $module->version = 2003072500; // The (date) version of this module +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 300; // How often should cron check this module (seconds)? ?> diff --git a/mod/choice/version.php b/mod/choice/version.php index 6b36976977b..c65f1a2babe 100644 --- a/mod/choice/version.php +++ b/mod/choice/version.php @@ -6,6 +6,7 @@ //////////////////////////////////////////////////////////////////////////////// $module->version = 2004010100; +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 0; ?> diff --git a/mod/dialogue/version.php b/mod/dialogue/version.php index d933dd10872..82ebed4320d 100644 --- a/mod/dialogue/version.php +++ b/mod/dialogue/version.php @@ -6,6 +6,7 @@ //////////////////////////////////////////////////////////////////////////////// $module->version = 2003101300; +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 60; ?> diff --git a/mod/exercise/version.php b/mod/exercise/version.php index 1163c78d889..6ac2a33f709 100644 --- a/mod/exercise/version.php +++ b/mod/exercise/version.php @@ -6,6 +6,7 @@ //////////////////////////////////////////////////////////////////////////////// $module->version = 2003121000; +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 60; ?> diff --git a/mod/forum/version.php b/mod/forum/version.php index bd4dc68e566..be3f3fa5499 100644 --- a/mod/forum/version.php +++ b/mod/forum/version.php @@ -5,7 +5,8 @@ // This fragment is called by /admin/index.php //////////////////////////////////////////////////////////////////////////////// -$module->version = 2004012200; +$module->version = 2004012400; +$module->requires = 2004012700; // Requires this Moodle version $module->cron = 60; ?> diff --git a/mod/glossary/version.php b/mod/glossary/version.php index 4985f4d3aab..8e2d23befd7 100644 --- a/mod/glossary/version.php +++ b/mod/glossary/version.php @@ -6,6 +6,7 @@ ///////////////////////////////////////////////////////////////////////////////// $module->version = 2003112701; // The current module version (Date: YYYYMMDDXX) +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 0; // Period for cron to check this module (secs) $release = "0.5 development"; // User-friendly version number diff --git a/mod/journal/version.php b/mod/journal/version.php index bc39e112a3e..fb2f5874b44 100644 --- a/mod/journal/version.php +++ b/mod/journal/version.php @@ -6,6 +6,7 @@ //////////////////////////////////////////////////////////////////////////////// $module->version = 2004011400; +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 60; ?> diff --git a/mod/label/version.php b/mod/label/version.php index 7086f89f74c..262567cd03d 100644 --- a/mod/label/version.php +++ b/mod/label/version.php @@ -6,6 +6,7 @@ ///////////////////////////////////////////////////////////////////////////////// $module->version = 2003091400; // The current module version (Date: YYYYMMDDXX) +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 0; // Period for cron to check this module (secs) ?> diff --git a/mod/quiz/version.php b/mod/quiz/version.php index 353d0cc356d..dae31e9aab9 100644 --- a/mod/quiz/version.php +++ b/mod/quiz/version.php @@ -6,6 +6,7 @@ //////////////////////////////////////////////////////////////////////////////// $module->version = 2003111100; // The (date) version of this module +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 0; // How often should cron check this module (seconds)? ?> diff --git a/mod/resource/version.php b/mod/resource/version.php index 5c8804fa12f..f4a6b3233de 100644 --- a/mod/resource/version.php +++ b/mod/resource/version.php @@ -6,6 +6,7 @@ //////////////////////////////////////////////////////////////////////////////// $module->version = 2003082000; +$module->requires = 2004012000; // Requires this Moodle version $module->cron = 0; ?> diff --git a/mod/survey/version.php b/mod/survey/version.php index a8433671888..50f6c68d99f 100644 --- a/mod/survey/version.php +++ b/mod/survey/version.php @@ -5,7 +5,8 @@ // This fragment is called by /admin/index.php //////////////////////////////////////////////////////////////////////////////// -$module->version = 2002122300; +$module->version = 2003051502; +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 0; ?> diff --git a/mod/workshop/version.php b/mod/workshop/version.php index 42326d73839..9181ee15d16 100644 --- a/mod/workshop/version.php +++ b/mod/workshop/version.php @@ -6,6 +6,7 @@ //////////////////////////////////////////////////////////////////////////////// $module->version = 2003113000; +$module->requires = 2004010100; // Requires this Moodle version $module->cron = 60; ?>