summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-09-06 13:13:08 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-09-06 13:13:08 +0000
commit817f9809145ad6bb09fbfbd7f1a4543095b8580c (patch)
tree5b53893d93a5d72ba58995ac6f9dbec0857ba95c /modules
parentb3d3e39c47901bf9751b74146c34c361833f1c2d (diff)
downloadbrdo-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.install3
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;
}