1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-19 04:11:20 +02:00

+ E_STRICT compliance

This commit is contained in:
Steve Clay
2008-06-01 02:52:59 +00:00
parent 457ed43590
commit 930ad768cf
4 changed files with 10 additions and 9 deletions

View File

@@ -902,14 +902,16 @@ class Cache_Lite_File extends Cache_Lite
}
/**
* Test if a cache is available and (if yes) return it
* Test if a cache is available and (if yes) return it
*
* The third param is just to suppress PHP5's E_STRICT warning
*
* @param string $id cache id
* @param string $group name of the cache group
* @return string data of the cache (or false if no cache available)
* @access public
*/
function get($id, $group = 'default')
function get($id, $group = 'default', $thisValueIgnored = false)
{
if ($data = parent::get($id, $group, true)) {
if ($filemtime = $this->lastModified()) {
@@ -920,6 +922,4 @@ class Cache_Lite_File extends Cache_Lite
}
return false;
}
}

View File

@@ -21,7 +21,6 @@
* @author Stephen Clay <steve@mrclay.org>
* @copyright 2008 Ryan Grove, Stephen Clay. All rights reserved.
* @license http://opensource.org/licenses/bsd-license.php New BSD License
* @version 1.9.0
* @link http://code.google.com/p/minify/
*/