Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Files for postgresql

  • Loading branch information...
commit a595c0b6ea1492a0914eb031334827843361743f 1 parent ce24161
authored April 19, 2004

Showing 24 changed files with 396 additions and 0 deletions. Show diff stats Hide diff stats

  1. 33  blocks/activity_modules/db/postgres7.php
  2. 33  blocks/admin/db/postgres7.php
  3. 33  blocks/calendar_month/db/postgres7.php
  4. 33  blocks/calendar_upcoming/db/postgres7.php
  5. 33  blocks/course_list/db/postgres7.php
  6. 33  blocks/course_summary/db/postgres7.php
  7. 33  blocks/news_items/db/postgres7.php
  8. 33  blocks/online_users/db/postgres7.php
  9. 33  blocks/participants/db/postgres7.php
  10. 33  blocks/recent_activity/db/postgres7.php
  11. 33  blocks/search_forums/db/postgres7.php
  12. 33  blocks/social_activities/db/postgres7.php
  13. 0  postgres7.sql b/blocks/activity_modules/db/postgres7.sql
  14. 0  postgres7.sql b/blocks/admin/db/postgres7.sql
  15. 0  postgres7.sql b/blocks/calendar_month/db/postgres7.sql
  16. 0  postgres7.sql b/blocks/calendar_upcoming/db/postgres7.sql
  17. 0  postgres7.sql b/blocks/course_list/db/postgres7.sql
  18. 0  postgres7.sql b/blocks/course_summary/db/postgres7.sql
  19. 0  postgres7.sql b/blocks/news_items/db/postgres7.sql
  20. 0  postgres7.sql b/blocks/online_users/db/postgres7.sql
  21. 0  postgres7.sql b/blocks/participants/db/postgres7.sql
  22. 0  postgres7.sql b/blocks/recent_activity/db/postgres7.sql
  23. 0  postgres7.sql b/blocks/search_forums/db/postgres7.sql
  24. 0  postgres7.sql b/blocks/social_activities/db/postgres7.sql
33  blocks/activity_modules/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function activity_modules_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/admin/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function admin_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/calendar_month/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function calendar_month_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/calendar_upcoming/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function calendar_upcoming_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/course_list/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function course_list_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/course_summary/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function course_summary_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/news_items/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function news_items_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/online_users/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function online_users_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/participants/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function participants_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/recent_activity/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function recent_activity_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/search_forums/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function search_forums_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
33  blocks/social_activities/db/postgres7.php
... ...
@@ -0,0 +1,33 @@
  1
+<?PHP  //$Id$
  2
+//
  3
+// This file keeps track of upgrades to Moodle's
  4
+// blocks system.
  5
+//
  6
+// Sometimes, changes between versions involve
  7
+// alterations to database structures and other
  8
+// major things that may break installations.
  9
+//
  10
+// The upgrade function in this file will attempt
  11
+// to perform all the necessary actions to upgrade
  12
+// your older installtion to the current version.
  13
+//
  14
+// If there's something it cannot do itself, it
  15
+// will tell you what you need to do.
  16
+//
  17
+// Versions are defined by backup_version.php
  18
+//
  19
+// This file is tailored to PostgreSQL
  20
+
  21
+function social_activities_upgrade($oldversion=0) {
  22
+
  23
+    global $CFG;
  24
+    
  25
+    $result = true;
  26
+
  27
+    if ($oldversion < 2004041000 and $result) {
  28
+        $result = true; //Nothing to do
  29
+    }
  30
+
  31
+    //Finally, return result
  32
+    return $result;
  33
+}
0  postgres7.sql b/blocks/activity_modules/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/admin/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/calendar_month/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/calendar_upcoming/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/course_list/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/course_summary/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/news_items/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/online_users/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/participants/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/recent_activity/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/search_forums/db/postgres7.sql
No changes.
0  postgres7.sql b/blocks/social_activities/db/postgres7.sql
No changes.

0 notes on commit a595c0b

Please sign in to comment.
Something went wrong with that request. Please try again.