Commit 014aab1b by Carsten Brandt

Update UPGRADE.md

parent 6a9db3a1
...@@ -13,7 +13,7 @@ Upgrade from Yii 2.0 Beta ...@@ -13,7 +13,7 @@ Upgrade from Yii 2.0 Beta
------------------------- -------------------------
* If you are using Composer to upgrade Yii, you should run the following command first (once for all) to install * If you are using Composer to upgrade Yii, you should run the following command first (once for all) to install
the composer-asset-plugin: the composer-asset-plugin, *before* you update your project:
``` ```
php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta1" php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta1"
...@@ -29,6 +29,12 @@ Upgrade from Yii 2.0 Beta ...@@ -29,6 +29,12 @@ Upgrade from Yii 2.0 Beta
} }
} }
``` ```
It is also a good idea to upgrade composer itself to the latest version if you see any problems:
```
php composer.phar self-update
```
* If you used `clearAll()` or `clearAllAssignments()` of `yii\rbac\DbManager`, you should replace * If you used `clearAll()` or `clearAllAssignments()` of `yii\rbac\DbManager`, you should replace
them with `removeAll()` and `removeAllAssignments()` respectively. them with `removeAll()` and `removeAllAssignments()` respectively.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment