API CHANGE Removed Object->cacheToFileWithArgs(), please use Object->cacheToFile() with the $arguments param

This commit is contained in:
Ingo Schommer 2011-04-28 23:08:54 +12:00
parent 44354d472f
commit ea9faeccf7

View File

@ -1062,18 +1062,6 @@ abstract class Object {
if(file_exists($file)) unlink($file);
}
/**
* @deprecated
*/
public function cacheToFileWithArgs($callback, $arguments = array(), $lifetime = 3600, $ID = false) {
user_error (
'Object->cacheToFileWithArgs() is deprecated, please use Object->cacheToFile() with the $arguments param',
E_USER_NOTICE
);
return $this->cacheToFile($callback, $lifetime, $ID, $arguments);
}
/**
* Loads a cache from the filesystem if a valid on is present and within the specified lifetime
*