]> git.mjollnir.org Git - moodle.git/commitdiff
One more default and useless comment deleted. MDL-11385
authorstronk7 <stronk7>
Mon, 24 Sep 2007 19:36:24 +0000 (19:36 +0000)
committerstronk7 <stronk7>
Mon, 24 Sep 2007 19:36:24 +0000 (19:36 +0000)
admin/xmldb/actions/new_table_from_mysql/new_table_from_mysql.class.php

index 4155403f861eabd3dea2e05337d9862eae76c852..5329f4e8be3f55363b842a9f9bd32242fb89d919 100644 (file)
@@ -160,7 +160,6 @@ class new_table_from_mysql extends XMLDBAction {
                         $key->setFromADOKey($dbindex);
                     /// Set default comment to PKs
                         if ($key->getType() == XMLDB_KEY_PRIMARY) {
-                            $key->setComment('Primary key for ' . $table->getName());
                         }
                     /// Add key to the table
                         $table->addKey($key);