diff --git a/core/includes/schema.inc b/core/includes/schema.inc index ac0ffad..56339b8 100644 --- a/core/includes/schema.inc +++ b/core/includes/schema.inc @@ -27,9 +27,6 @@ /** * Gets the schema definition of a table, or the whole database schema. * - * The returned schema will include any modifications made by any - * module that implements hook_schema_alter(). - * * @param string $table * The name of the table. If not given, the schema of all tables is returned. * @param bool $rebuild @@ -59,9 +56,6 @@ function drupal_get_schema($table = NULL, $rebuild = FALSE) { /** * Gets the whole database schema. * - * The returned schema will include any modifications made by any - * module that implements hook_schema_alter(). - * * @param bool $rebuild * If TRUE, the schema will be rebuilt instead of retrieved from the cache. */ @@ -91,7 +85,6 @@ function drupal_get_complete_schema($rebuild = FALSE) { _drupal_schema_initialize($current, $module); $schema = array_merge($schema, $current); } - drupal_alter('schema', $schema); if ($rebuild) { Cache::deleteTags(array('schema' => TRUE)); @@ -203,10 +196,6 @@ function drupal_set_installed_schema_version($module, $version) { /** * Creates all tables defined in a module's hook_schema(). * - * Note: This function does not pass the module's schema through - * hook_schema_alter(). The module's tables will be created exactly as the - * module defines them. - * * @param string $module * The module for which the tables will be created. */ @@ -222,10 +211,6 @@ function drupal_install_schema($module) { /** * Removes all tables defined in a module's hook_schema(). * - * Note: This function does not pass the module's schema through - * hook_schema_alter(). The module's tables will be created exactly as the - * module defines them. - * * @param string $module * The module for which the tables will be removed. * @@ -250,19 +235,12 @@ function drupal_uninstall_schema($module) { * * Use this function only if you explicitly need the original * specification of a schema, as it was defined in a module's - * hook_schema(). No additional default values will be set, - * hook_schema_alter() is not invoked and these unprocessed - * definitions won't be cached. + * hook_schema(). * * This function can be used to retrieve a schema specification in * hook_schema(), so it allows you to derive your tables from existing * specifications. * - * It is also used by drupal_install_schema() and - * drupal_uninstall_schema() to ensure that a module's tables are - * created exactly as specified without any changes introduced by a - * module that implements hook_schema_alter(). - * * @param string $module * The module to which the table belongs. * @param string $table