The panels.install and panels.mini.install still use db_fetch_object() which has been removed in D7:

$ grep -R db_fetch_object *
panels.install:  while ($pane = db_fetch_object($result)) {
panels.install:  while ($display = db_fetch_object($result)) {
panels.install:  while ($page = db_fetch_object($result)) {
panels.install:  while ($pane = db_fetch_object($result)) {
panels.install:  while ($display = db_fetch_object($result)) {
panels.install:  while ($p = db_fetch_object($result)) {
panels_mini/panels_mini.install:  while ($mini = db_fetch_object($result)) {
panels_mini/panels_mini.install:  while ($mini = db_fetch_object($result)) {

I created a patch according to http://drupal.org/update/modules/6/7#dbtng.

CommentFileSizeAuthor
panels-remove-db_fetch_object.patch3.52 KBguidot

Comments

merlinofchaos’s picture

Status: Needs review » Fixed

It's likely none of those update functions will work anyhow. Removed them instead, there's not much point to trying to maintain them.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit f81f714 on 7.x-3.x, master, pipelines, 7.x-3.x-i18n, 8.x-3.x by merlinofchaos:
    #970076: Remove old hook_update functions.