Merge branch '2.6' into 2.7

Conflicts:
	lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php
	lib/Cake/VERSION.txt
This commit is contained in:
mark_story 2015-04-20 15:42:54 -04:00
commit 096a2ebb72
11 changed files with 55 additions and 9 deletions

View file

@ -747,7 +747,7 @@ class CakeSession {
* @return void
*/
public static function renew() {
if (!session_id()) {
if (session_id() === '') {
return;
}
if (isset($_COOKIE[session_name()])) {

View file

@ -3566,6 +3566,7 @@ class DboSource extends DataSource {
if ($this->_methodCacheChange) {
Cache::write('method_cache', self::$methodCache, '_cake_core_');
}
parent::__destruct();
}
}