浏览代码

[DoctrineBundle] Removed useless sprintf

Pascal Borreli 14 年之前
父节点
当前提交
664c00b62e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Bundle/DoctrineBundle/Command/DropDatabaseDoctrineCommand.php

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Command/DropDatabaseDoctrineCommand.php

@@ -74,7 +74,7 @@ EOT
             }
         } else {
             $output->writeln(sprintf('<info>Would drop the database named <comment>%s</comment>.</info>', $name));
-            $output->writeln(sprintf('<error>All data will be lost!</error>', $name));
+            $output->writeln('<error>All data will be lost!</error>');
         }
     }
 }