Permalink
Browse files

MDL-11434 $CFG->filelifetime = 0 has no effect; patch by Chris Fryer;…

… backported from HEAD
  • Loading branch information...
1 parent 23ae278 commit fadd42e097477da3e7d71622ff601c63a4ad4622 skodak committed Sep 25, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 file.php
View
@@ -14,7 +14,7 @@
require_once('config.php');
require_once('lib/filelib.php');
- if (empty($CFG->filelifetime)) {
+ if (!isset($CFG->filelifetime)) {
$lifetime = 86400; // Seconds for files to remain in caches
} else {
$lifetime = $CFG->filelifetime;

0 comments on commit fadd42e

Please sign in to comment.