Browse Source

upgrade all bundles supported.

Taylor Otwell 13 years ago
parent
commit
be144288b3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      laravel/cli/tasks/bundle/bundler.php

+ 2 - 0
laravel/cli/tasks/bundle/bundler.php

@@ -65,6 +65,8 @@ class Bundler extends Task {
 	 */
 	public function upgrade($bundles)
 	{
+		if (count($bundles) == 0) $bundles = Bundle::names();
+
 		foreach ($bundles as $name)
 		{
 			if ( ! Bundle::exists($name))