]> git.mjollnir.org Git - moodle.git/commitdiff
global $CFG was missing...?
authorpaca70 <paca70>
Thu, 24 Apr 2003 17:38:20 +0000 (17:38 +0000)
committerpaca70 <paca70>
Thu, 24 Apr 2003 17:38:20 +0000 (17:38 +0000)
lib/db/postgres7.php

index 9a4c423b5d1a2744dc1f99f0a596384fcef5f274..d3dfb2695795fb82cb95f1b8ed4c2b05513f6ef9 100644 (file)
@@ -18,6 +18,7 @@
 // This file is tailored to PostgreSQL 7
 
 function main_upgrade($oldversion=0) {
+   global $CFG;
 
     if ($oldversion < 2003010101) {
         delete_records("log_display", "module", "user");