]> git.mjollnir.org Git - moodle.git/commitdiff
Fixing bug #2419 - missing global $CFG in upgrade for choice resulting in missing...
authormjollnir_ <mjollnir_>
Thu, 27 Jan 2005 02:17:35 +0000 (02:17 +0000)
committermjollnir_ <mjollnir_>
Thu, 27 Jan 2005 02:17:35 +0000 (02:17 +0000)
mod/choice/db/mysql.php
mod/choice/db/postgres7.php

index 839e4d335d7448942bc25b3e8892915f34cb5798..64c36d5ee51d38043cf3df9831e9b93ecf6d36e9 100644 (file)
@@ -1,6 +1,9 @@
 <?php // $Id$
 
 function choice_upgrade($oldversion) {
+    
+    global $CFG;
+
 // This function does anything necessary to upgrade
 // older versions to match current functionality
 
index a2e57dac4ed4998f73de2a7af1d17adbc8746c6e..8f000f415f8ae0a5f51a5d55a8eb63f965e4bd14 100644 (file)
@@ -1,6 +1,9 @@
 <?php // $Id$
 
 function choice_upgrade($oldversion) {
+
+    global $CFG;
+
 // This function does anything necessary to upgrade
 // older versions to match current functionality