]> git.mjollnir.org Git - moodle.git/commitdiff
Quick Fix. It should be 24!
authorstronk7 <stronk7>
Sun, 24 Sep 2006 22:15:57 +0000 (22:15 +0000)
committerstronk7 <stronk7>
Sun, 24 Sep 2006 22:15:57 +0000 (22:15 +0000)
lib/db/postgres7.php

index 73f6b8f6f9c37e07ced8920bf96f804cbd13b691..6592c64a0e64f5ff1725bf0c6c80cca6801a0f44 100644 (file)
@@ -1923,7 +1923,7 @@ function main_upgrade($oldversion=0) {
         execute_sql("CREATE UNIQUE INDEX {$CFG->prefix}role_sor_uix ON {$CFG->prefix}role (sortorder);", false);
     }
 
-    if ($oldversion < 2006092510) {
+    if ($oldversion < 2006092410) {
         /// Convert all the PG unique keys into their corresponding unique indexes
         /// we don't want such keys inside Moodle 1.7 and above
         /// Look for all the UNIQUE CONSTRAINSTS existing in DB