mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Marked old cache function as deprecated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6914 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
72e54d4780
commit
d64bf9b3d8
1 changed files with 1 additions and 0 deletions
|
@ -543,6 +543,7 @@ if (!function_exists('clone')) {
|
|||
* @param mixed $expires A valid strtotime string when the data expires.
|
||||
* @param string $target The target of the cached data; either 'cache' or 'public'.
|
||||
* @return mixed The contents of the temporary file.
|
||||
* @deprecated Please use Cache::write() instead
|
||||
*/
|
||||
function cache($path, $data = null, $expires = '+1 day', $target = 'cache') {
|
||||
if (Configure::read('Cache.disable')) {
|
||||
|
|
Loading…
Reference in a new issue