Commit 29433f67 authored by David Metzler's avatar David Metzler
Browse files

Notice fix

parent 1194aba4
......@@ -154,8 +154,6 @@ class FrxFile {
*/
public function validateAllCache($prefix='') {
// Make sure once per session.
if ($this->validated) return;
// Load data form the cache
if (!$this->cache) {
$cache = cache_get($this->cacheKey, 'cache');
if ($cache) {
......@@ -163,6 +161,9 @@ class FrxFile {
}
$this->needSave = FALSE;
}
// Skip extra stuff after we've validated once.
if ($this->validated) return;
// Load data form the cache
// Save current paths away.
$this->setFilesToDelete();
$this->scan($prefix);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment