#173314 by drewish: mark previously uploaded files as permanent, so they will not be deleted after an upgrade

6.x
Gábor Hojtsy 2007-09-06 13:13:08 +00:00
parent b3d3e39c47
commit 817f980914
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}