diff --git a/core/Object.php b/core/Object.php index 6c41bb5b7..5281dd410 100644 --- a/core/Object.php +++ b/core/Object.php @@ -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 *