Permalink
Browse files

#1256 Added note about CActiveRecord::resetScope() signature change t…

…o UPGRADE
  • Loading branch information...
1 parent 7956509 commit b253faa4fd61427a230a191755cbc974ccbce4f6 @samdark samdark committed Sep 9, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 UPGRADE
View
@@ -40,11 +40,14 @@ Upgrading from v1.1.11
----------------------
- Changes in CCookieCollection::add() (introduced in 1.1.11) were reverted as they were triggering E_STRICT on some old PHP-versions
If your application relies on these newly added changes. You should change your code from
-
- $cookies->add(new CHttpCookie($name, $value));
+
+ $cookies->add(new CHttpCookie($name, $value));
to
$cookies[$name] = new CHttpCookie($name, $value);
+
+- CActiveRecord::resetScope() method signature changed. Updated your subclasses that override resetScope() if any.
+
Upgrading from v1.1.10
----------------------
- API of public method CConsoleCommand::confirm() changed. If you are overriding this method make sure to update your code.

0 comments on commit b253faa

Please sign in to comment.