Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 165... Línea 165...
165
     * @return bool
165
     * @return bool
166
     */
166
     */
167
    public function contains_private_data() {
167
    public function contains_private_data() {
168
        return false;
168
        return false;
169
    }
169
    }
-
 
170
 
-
 
171
    #[\Override]
-
 
172
    public function send_file($storedfile, $lifetime=null , $filter=0, $forcedownload=false, ?array $options = null) {
-
 
173
        // If the file is linked to the original then we should not cache it.
-
 
174
        $lifetime = 0;
-
 
175
 
-
 
176
        parent::send_file($storedfile, $lifetime, $filter, $forcedownload, $options);
-
 
177
    }
170
}
178
}