diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-06 13:13:08 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-06 13:13:08 +0000 |
commit | 817f9809145ad6bb09fbfbd7f1a4543095b8580c (patch) | |
tree | 5b53893d93a5d72ba58995ac6f9dbec0857ba95c /modules | |
parent | b3d3e39c47901bf9751b74146c34c361833f1c2d (diff) | |
download | brdo-817f9809145ad6bb09fbfbd7f1a4543095b8580c.tar.gz brdo-817f9809145ad6bb09fbfbd7f1a4543095b8580c.tar.bz2 |
#173314 by drewish: mark previously uploaded files as permanent, so they will not be deleted after an upgrade
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.install | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 29917cab0..16ba49e5c 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -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; } |