diff --git a/www/sites/all/modules/contrib/panels/panels.install b/www/sites/all/modules/contrib/panels/panels.install index 35481e4..9f088c0 100644 --- a/www/sites/all/modules/contrib/panels/panels.install +++ b/www/sites/all/modules/contrib/panels/panels.install @@ -627,7 +627,6 @@ function panels_update_7306() { function panels_update_7307() { // Load the schema. $schema = panels_schema_9(); - $msg = array(); // Add the window_title column to the display table. $table = 'panels_display'; @@ -636,10 +635,8 @@ function panels_update_7307() { if (!db_field_exists($table, $field)) { $spec = $schema[$table]['fields'][$field]; db_add_field($table, $field, $spec); - $msg[] = t('Added panels_display.window_title column.'); + return t('Added panels_display.window_title column.'); } - if (empty($msg)) { - $msg[] = t('window_title column already present in the panels_display table.'); - } + return t('window_title column already present in the panels_display table.'); }