Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Files for postgresql

  • Loading branch information...
commit a595c0b6ea1492a0914eb031334827843361743f 1 parent ce24161
paca70 authored
Showing with 396 additions and 0 deletions.
  1. +33 −0 blocks/activity_modules/db/postgres7.php
  2. 0  blocks/activity_modules/db/postgres7.sql
  3. +33 −0 blocks/admin/db/postgres7.php
  4. 0  blocks/admin/db/postgres7.sql
  5. +33 −0 blocks/calendar_month/db/postgres7.php
  6. 0  blocks/calendar_month/db/postgres7.sql
  7. +33 −0 blocks/calendar_upcoming/db/postgres7.php
  8. 0  blocks/calendar_upcoming/db/postgres7.sql
  9. +33 −0 blocks/course_list/db/postgres7.php
  10. 0  blocks/course_list/db/postgres7.sql
  11. +33 −0 blocks/course_summary/db/postgres7.php
  12. 0  blocks/course_summary/db/postgres7.sql
  13. +33 −0 blocks/news_items/db/postgres7.php
  14. 0  blocks/news_items/db/postgres7.sql
  15. +33 −0 blocks/online_users/db/postgres7.php
  16. 0  blocks/online_users/db/postgres7.sql
  17. +33 −0 blocks/participants/db/postgres7.php
  18. 0  blocks/participants/db/postgres7.sql
  19. +33 −0 blocks/recent_activity/db/postgres7.php
  20. 0  blocks/recent_activity/db/postgres7.sql
  21. +33 −0 blocks/search_forums/db/postgres7.php
  22. 0  blocks/search_forums/db/postgres7.sql
  23. +33 −0 blocks/social_activities/db/postgres7.php
  24. 0  blocks/social_activities/db/postgres7.sql
33 blocks/activity_modules/db/postgres7.php
View
@@ -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;
+}
0  blocks/activity_modules/db/postgres7.sql
View
No changes.
33 blocks/admin/db/postgres7.php
View
@@ -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;
+}
0  blocks/admin/db/postgres7.sql
View
No changes.
33 blocks/calendar_month/db/postgres7.php
View
@@ -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;
+}
0  blocks/calendar_month/db/postgres7.sql
View
No changes.
33 blocks/calendar_upcoming/db/postgres7.php
View
@@ -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;
+}
0  blocks/calendar_upcoming/db/postgres7.sql
View
No changes.
33 blocks/course_list/db/postgres7.php
View
@@ -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;
+}
0  blocks/course_list/db/postgres7.sql
View
No changes.
33 blocks/course_summary/db/postgres7.php
View
@@ -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;
+}
0  blocks/course_summary/db/postgres7.sql
View
No changes.
33 blocks/news_items/db/postgres7.php
View
@@ -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;
+}
0  blocks/news_items/db/postgres7.sql
View
No changes.
33 blocks/online_users/db/postgres7.php
View
@@ -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;
+}
0  blocks/online_users/db/postgres7.sql
View
No changes.
33 blocks/participants/db/postgres7.php
View
@@ -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;
+}
0  blocks/participants/db/postgres7.sql
View
No changes.
33 blocks/recent_activity/db/postgres7.php
View
@@ -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;
+}
0  blocks/recent_activity/db/postgres7.sql
View
No changes.
33 blocks/search_forums/db/postgres7.php
View
@@ -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;
+}
0  blocks/search_forums/db/postgres7.sql
View
No changes.
33 blocks/social_activities/db/postgres7.php
View
@@ -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;
+}
0  blocks/social_activities/db/postgres7.sql
View
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.