Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mchampan committed Jul 11, 2006
1 parent 12a2567 commit e0eb89a
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
33 changes: 33 additions & 0 deletions blocks/search/db/mysql.php
@@ -0,0 +1,33 @@
<?php
//
// 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 MySQL

function search_upgrade($oldversion=0) {

global $CFG;

$result = true;

if ($oldversion < 2006062500 and $result) {
$result = true; //Nothing to do
}

//Finally, return result
return $result;
}
Empty file added blocks/search/db/mysql.sql
Empty file.
33 changes: 33 additions & 0 deletions blocks/search/db/postgres7.php
@@ -0,0 +1,33 @@
<?php
//
// 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 pgsql

function search_upgrade($oldversion=0) {

global $CFG;

$result = true;

if ($oldversion < 2006062500 and $result) {
$result = true; //Nothing to do
}

//Finally, return result
return $result;
}
Empty file added blocks/search/db/postgres7.sql
Empty file.

0 comments on commit e0eb89a

Please sign in to comment.