Same name in other branches
- 7.x-1.x advagg.module \advagg_clearstatcache()
Wrapper around clearstatcache so it can use php 5.3's new features.
Paramètres
string $filename: String.
Return value
null value from clearstatcache().
2 calls to advagg_clearstatcache()
- advagg_get_info_on_files dans ./
advagg.inc - Given a filename calculate various hashes and gather meta data.
- advagg_save_data dans ./
advagg.missing.inc - Save data to a file.
Fichier
-
./
advagg.inc, line 789
Code
function advagg_clearstatcache($filename = NULL) {
static $php530;
if (!isset($php530)) {
$php530 = version_compare(PHP_VERSION, '5.3.0', '>=');
}
if ($php530) {
return clearstatcache(TRUE, $filename);
}
else {
return clearstatcache();
}
}