Backporting changes from 1.2 to 1.1

Adding Set class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4711 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-03-29 22:48:24 +00:00
parent eac541cfe4
commit 575b27d586

View file

@ -34,7 +34,7 @@
* @package cake
* @subpackage cake.cake.libs.model.datasources
*/
class DataSource extends Object{
class DataSource extends Object {
/**
* Are we connected to the DataSource?
*
@ -221,7 +221,7 @@ class DataSource extends Object{
* @return void
*/
function __cacheDescription($object, $data = null) {
if (DEBUG > 0) {
if (Configure::read() > 0) {
$expires = "+15 seconds";
} else {
$expires = "+999 days";