Commit 817f9809 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#173314 by drewish: mark previously uploaded files as permanent, so they will...

#173314 by drewish: mark previously uploaded files as permanent, so they will not be deleted after an upgrade
parent b3d3e39c
......@@ -3561,6 +3561,9 @@ function system_update_6022() {
break;
}
// Mark all existing files as FILE_STATUS_PERMANENT.
$ret[] = update_sql('UPDATE {files} SET status = 1');
return $ret;
}
......
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