Closed (duplicate)
Project:
Blog Information
Version:
5.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2008 at 19:08 UTC
Updated:
10 Aug 2008 at 11:01 UTC
I ran the coder (code review) module and made a few changes.
The remaining issues are:
bloginfo.module
severity: critical Line 62: new hook_theme() function is required to register theme_ functions (Drupal Docs)
function theme_bloginfo_block($description, $format, $author) {
bloginfo.install
severity: criticalclick to read moreLine 6: A new schema API has been added in 6.x (Drupal Docs)
switch ($GLOBALS['db_type']) {
Explanation: This patch caused changes to the format of hook_install(), hook_uninstall(), and hook_update_N(). No longer are switch statements done on $GLOBALS['db_type']; instead, use the variety of schema API functions to perform table manipulation.
severity: criticalclick to read moreLine 48: A new schema API has been added in 6.x (Drupal Docs)
switch ($GLOBALS['db_type']) {
Explanation: This patch caused changes to the format of hook_install(), hook_uninstall(), and hook_update_N(). No longer are switch statements done on $GLOBALS['db_type']; instead, use the variety of schema API functions to perform table manipulation.
severity: criticalclick to read moreLine 62: A new schema API has been added in 6.x (Drupal Docs)
switch ($GLOBALS['db_type']) {
| Comment | File | Size | Author |
|---|---|---|---|
| bloginfo.diff | 1.93 KB | reikiman |
Comments
Comment #1
vikingew commentedAlthough this one is older, #225981: Work on Drupal 6 version has all the info so I think it's reasonable to set this one as a dupe