]> git.mjollnir.org Git - moodle.git/commitdiff
Files for postgresql
authorpaca70 <paca70>
Mon, 19 Apr 2004 04:30:55 +0000 (04:30 +0000)
committerpaca70 <paca70>
Mon, 19 Apr 2004 04:30:55 +0000 (04:30 +0000)
24 files changed:
blocks/activity_modules/db/postgres7.php [new file with mode: 0644]
blocks/activity_modules/db/postgres7.sql [new file with mode: 0644]
blocks/admin/db/postgres7.php [new file with mode: 0644]
blocks/admin/db/postgres7.sql [new file with mode: 0644]
blocks/calendar_month/db/postgres7.php [new file with mode: 0644]
blocks/calendar_month/db/postgres7.sql [new file with mode: 0644]
blocks/calendar_upcoming/db/postgres7.php [new file with mode: 0644]
blocks/calendar_upcoming/db/postgres7.sql [new file with mode: 0644]
blocks/course_list/db/postgres7.php [new file with mode: 0644]
blocks/course_list/db/postgres7.sql [new file with mode: 0644]
blocks/course_summary/db/postgres7.php [new file with mode: 0644]
blocks/course_summary/db/postgres7.sql [new file with mode: 0644]
blocks/news_items/db/postgres7.php [new file with mode: 0644]
blocks/news_items/db/postgres7.sql [new file with mode: 0644]
blocks/online_users/db/postgres7.php [new file with mode: 0644]
blocks/online_users/db/postgres7.sql [new file with mode: 0644]
blocks/participants/db/postgres7.php [new file with mode: 0644]
blocks/participants/db/postgres7.sql [new file with mode: 0644]
blocks/recent_activity/db/postgres7.php [new file with mode: 0644]
blocks/recent_activity/db/postgres7.sql [new file with mode: 0644]
blocks/search_forums/db/postgres7.php [new file with mode: 0644]
blocks/search_forums/db/postgres7.sql [new file with mode: 0644]
blocks/social_activities/db/postgres7.php [new file with mode: 0644]
blocks/social_activities/db/postgres7.sql [new file with mode: 0644]

diff --git a/blocks/activity_modules/db/postgres7.php b/blocks/activity_modules/db/postgres7.php
new file mode 100644 (file)
index 0000000..3b4107c
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function activity_modules_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/activity_modules/db/postgres7.sql b/blocks/activity_modules/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/admin/db/postgres7.php b/blocks/admin/db/postgres7.php
new file mode 100644 (file)
index 0000000..92e410a
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function admin_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/admin/db/postgres7.sql b/blocks/admin/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/calendar_month/db/postgres7.php b/blocks/calendar_month/db/postgres7.php
new file mode 100644 (file)
index 0000000..0a5aa45
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function calendar_month_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/calendar_month/db/postgres7.sql b/blocks/calendar_month/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/calendar_upcoming/db/postgres7.php b/blocks/calendar_upcoming/db/postgres7.php
new file mode 100644 (file)
index 0000000..a70546c
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function calendar_upcoming_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/calendar_upcoming/db/postgres7.sql b/blocks/calendar_upcoming/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/course_list/db/postgres7.php b/blocks/course_list/db/postgres7.php
new file mode 100644 (file)
index 0000000..fce4490
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function course_list_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/course_list/db/postgres7.sql b/blocks/course_list/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/course_summary/db/postgres7.php b/blocks/course_summary/db/postgres7.php
new file mode 100644 (file)
index 0000000..a7a74e4
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function course_summary_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/course_summary/db/postgres7.sql b/blocks/course_summary/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/news_items/db/postgres7.php b/blocks/news_items/db/postgres7.php
new file mode 100644 (file)
index 0000000..f336b08
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function news_items_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/news_items/db/postgres7.sql b/blocks/news_items/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/online_users/db/postgres7.php b/blocks/online_users/db/postgres7.php
new file mode 100644 (file)
index 0000000..aee6bc5
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function online_users_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/online_users/db/postgres7.sql b/blocks/online_users/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/participants/db/postgres7.php b/blocks/participants/db/postgres7.php
new file mode 100644 (file)
index 0000000..ab88883
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function participants_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/participants/db/postgres7.sql b/blocks/participants/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/recent_activity/db/postgres7.php b/blocks/recent_activity/db/postgres7.php
new file mode 100644 (file)
index 0000000..407ee1e
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function recent_activity_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/recent_activity/db/postgres7.sql b/blocks/recent_activity/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/search_forums/db/postgres7.php b/blocks/search_forums/db/postgres7.php
new file mode 100644 (file)
index 0000000..82ad087
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function search_forums_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/search_forums/db/postgres7.sql b/blocks/search_forums/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/blocks/social_activities/db/postgres7.php b/blocks/social_activities/db/postgres7.php
new file mode 100644 (file)
index 0000000..01849d0
--- /dev/null
@@ -0,0 +1,33 @@
+<?PHP  //$Id$
+//
+// This file keeps track of upgrades to Moodle's
+// blocks system.
+//
+// Sometimes, changes between versions involve
+// alterations to database structures and other
+// major things that may break installations.
+//
+// The upgrade function in this file will attempt
+// to perform all the necessary actions to upgrade
+// your older installtion to the current version.
+//
+// If there's something it cannot do itself, it
+// will tell you what you need to do.
+//
+// Versions are defined by backup_version.php
+//
+// This file is tailored to PostgreSQL
+
+function social_activities_upgrade($oldversion=0) {
+
+    global $CFG;
+    
+    $result = true;
+
+    if ($oldversion < 2004041000 and $result) {
+        $result = true; //Nothing to do
+    }
+
+    //Finally, return result
+    return $result;
+}
diff --git a/blocks/social_activities/db/postgres7.sql b/blocks/social_activities/db/postgres7.sql
new file mode 100644 (file)
index 0000000..e69de29