Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / src / Command / Update / ExecuteCommand.php
index 3387d4280acd69ce7f0d7a1faf655e605f8a70ca..51d3ad4ac747ac6563d50b00e93f51c8172bc0f1 100644 (file)
@@ -229,7 +229,7 @@ class ExecuteCommand extends Command
                     return false;
                 }
 
-                $io->info(
+                $io->comment(
                     sprintf(
                         $this->trans('commands.update.execute.messages.executing-update'),
                         $update_number,
@@ -237,6 +237,12 @@ class ExecuteCommand extends Command
                     )
                 );
 
+                $updateExploded = explode(" - ", $update);
+                $updateExploded = count($updateExploded)>0?$updateExploded[1]:$updateExploded[0];
+
+                $io->comment(trim($updateExploded));
+                $io->newLine();
+
                 $this->moduleHandler->invoke($module_name, 'update_'  . $update_number);
                 drupal_set_installed_schema_version($module_name, $update_number);
             }