mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
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:
parent
eac541cfe4
commit
575b27d586
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
||||||
* @package cake
|
* @package cake
|
||||||
* @subpackage cake.cake.libs.model.datasources
|
* @subpackage cake.cake.libs.model.datasources
|
||||||
*/
|
*/
|
||||||
class DataSource extends Object{
|
class DataSource extends Object {
|
||||||
/**
|
/**
|
||||||
* Are we connected to the DataSource?
|
* Are we connected to the DataSource?
|
||||||
*
|
*
|
||||||
|
@ -221,7 +221,7 @@ class DataSource extends Object{
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __cacheDescription($object, $data = null) {
|
function __cacheDescription($object, $data = null) {
|
||||||
if (DEBUG > 0) {
|
if (Configure::read() > 0) {
|
||||||
$expires = "+15 seconds";
|
$expires = "+15 seconds";
|
||||||
} else {
|
} else {
|
||||||
$expires = "+999 days";
|
$expires = "+999 days";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue