| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 2720 lines (116 kb) |
| Included or required: | 2 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file includes/unicode.inc |
| system_requirements($phase) X-Ref |
| Test and report Drupal installation requirements. param: $phase return: |
| system_install() X-Ref |
| Implementation of hook_install(). |
| system_schema() X-Ref |
| Implementation of hook_schema(). |
| system_update_last_removed() X-Ref |
| No description |
| system_update_1022() X-Ref |
| Add index on users created column. |
| system_update_6000() X-Ref |
| Remove auto_increment from {boxes} to allow adding custom blocks with visibility settings. |
| system_update_6001() X-Ref |
| Add version id column to {term_node} to allow taxonomy module to use revisions. |
| system_update_6002() X-Ref |
| Increase the maximum length of variable names from 48 to 128. |
| system_update_6003() X-Ref |
| Add index on comments status column. |
| system_update_6004() X-Ref |
| This update used to add an index on users created column (#127941). However, system_update_1022() does the same thing. This update tried to detect if 1022 had already run but failed to do so, resulting in an "index already exists" error. Adding the index here is never necessary. Sites installed before 1022 will run 1022, getting the update. Sites installed on/after 1022 got the index when the table was first created. Therefore, this function is now a no-op. |
| system_update_6005() X-Ref |
| Add language to url_alias table and modify indexes. |
| system_update_6006() X-Ref |
| Drop useless indices on node_counter table. |
| system_update_6007() X-Ref |
| Change the severity column in the watchdog table to the new values. |
| system_update_6008() X-Ref |
| Add info files to themes. The info and owner columns are added by update_fix_d6_requirements() in update.php to avoid a large number of error messages from update.php. All we need to do here is copy description to owner and then drop description. |
| system_update_6009() X-Ref |
| The PHP filter is now a separate module. |
| system_update_6010() X-Ref |
| Add variable replacement for watchdog messages. The variables field is NOT NULL and does not have a default value. Existing log messages should not be translated in the new system, so we insert 'N;' (serialize(NULL)) as the temporary default but then remove the default value to match the schema. |
| system_update_6011() X-Ref |
| Add language support to nodes |
| system_update_6012() X-Ref |
| Add serialized field to cache tables. This is now handled directly by update.php, so this function is a no-op. |
| system_update_6013() X-Ref |
| Rebuild cache data for theme system changes |
| system_update_6014() X-Ref |
| Record that the installer is done, so it is not possible to run the installer on upgraded sites. |
| system_update_6015() X-Ref |
| Add the form cache table. |
| system_update_6016() X-Ref |
| Make {node}'s primary key be nid, change nid,vid to a unique key. Add primary keys to block, filters, flood, permission, and term_relation. |
| system_update_6017() X-Ref |
| Rename settings related to user.module email notifications. |
| system_update_6018() X-Ref |
| Add HTML corrector to HTML formats or replace the old module if it was in use. |
| system_update_6019() X-Ref |
| Reconcile small differences in the previous, manually created mysql and pgsql schemas so they are the same and can be represented by a single schema structure. Note that the mysql and pgsql cases make different changes. This is because each schema needs to be tweaked in different ways to conform to the new schema structure. Also, since they operate on tables defined by many optional core modules which may not ever have been installed, they must test each table for existence. If the modules are first installed after this update exists the tables will be created from the schema structure and will start out correct. |
| system_update_6020() X-Ref |
| Create the tables for the new menu system. |
| system_update_6021() X-Ref |
| Migrate the menu items from the old menu system to the new menu_links table. |
| system_update_6022() X-Ref |
| Update files tables to associate files to a uid by default instead of a nid. Rename file_revisions to upload since it should only be used by the upload module used by upload to link files to nodes. |
| system_update_6023() X-Ref |
| No description |
| system_update_6024() X-Ref |
| Add translation fields to nodes used by translation module. |
| system_update_6025() X-Ref |
| Increase the maximum length of node titles from 128 to 255. |
| system_update_6026() X-Ref |
| Display warning about new Update status module. |
| system_update_6027() X-Ref |
| Add block cache. |
| system_update_6028() X-Ref |
| Add the node load cache table. |
| system_update_6029() X-Ref |
| Enable the dblog module on sites that upgrade, since otherwise watchdog logging will stop unexpectedly. |
| system_update_6030() X-Ref |
| Add the tables required by actions.inc. |
| system_update_6031() X-Ref |
| Ensure that installer cannot be run again after updating from Drupal 5.x to 6.x Actually, this is already done by system_update_6014(), so this is now a no-op. |
| system_update_6032() X-Ref |
| profile_fields.name used to be nullable but is part of a unique key and so shouldn't be. |
| system_update_6033() X-Ref |
| Change node_comment_statistics to be not autoincrement. |
| system_update_6034() X-Ref |
| Rename permission "administer access control" to "administer permissions". |
| system_update_6035() X-Ref |
| Change index on system table for better performance. |
| system_update_6036() X-Ref |
| Change the search schema and indexing. The table data is preserved where possible in MYSQL and MYSQLi using ALTER IGNORE. Other databases don't support that, so for them the tables are dropped and re-created, and will need to be re-indexed from scratch. |
| system_update_6037() X-Ref |
| Create consistent empty region for disabled blocks. |
| system_update_6038() X-Ref |
| Ensure that "Account" is not used as a Profile category. |
| system_update_6039() X-Ref |
| Rename permissions "edit foo content" to "edit any foo content". Also update poll module permission "create polls" to "create poll content". |
| system_update_6040() X-Ref |
| Add a weight column to the upload table. |
| system_update_6041() X-Ref |
| Change forum vocabulary not to be required by default and set the weight of the forum.module 1 higher than the taxonomy.module. |
| system_update_6042() X-Ref |
| Upgrade recolored theme stylesheets to new array structure. |
| system_update_6043() X-Ref |
| Update table indices to make them more rational and useful. |
| system_update_6044() X-Ref |
| RC1 to RC2 index cleanup. |
| system_update_6045() X-Ref |
| Update blog, book and locale module permissions. Blog module got "edit own blog" replaced with the more granular "create blog entries", "edit own blog entries" and "delete own blog entries" permissions. We grant create and edit to previously privileged users, but delete is not granted to be in line with other permission changes in Drupal 6. Book module's "edit book pages" was upgraded to the bogus "edit book content" in Drupal 6 RC1 instead of "edit any book content", which would be correct. Locale module introduced "administer languages" and "translate interface" in place of "administer locales". Modeled after system_update_6039(). |
| system_update_6046() X-Ref |
| Ensure that the file_directory_path variable is set (using the old 5.x default, if necessary), so that the changed 6.x default won't break existing sites. |
| system_update_6047() X-Ref |
| Fix cache mode for blocks inserted in system_install() in fresh installs of previous RC. |
| system_update_6048() X-Ref |
| Increase the size of the 'load_functions' and 'to_arg_functions' fields in table 'menu_router'. |
| system_update_6049() X-Ref |
| Replace src index on the {url_alias} table with src, language. |
| system_update_6050() X-Ref |
| Clear any menu router blobs stored in the cache table. |
| system_update_6051() X-Ref |
| Create a signature_format column. |
| system_update_6052() X-Ref |
| Add a missing index on the {menu_router} table. |
| system_update_6053() X-Ref |
| Add a {system} index on type and name. |
| system_update_6054() X-Ref |
| Add semaphore table. |
| system_update_6055() X-Ref |
| Improve indexes on the {url_alias} table. |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |