summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-29 14:25:57 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-29 14:25:57 -0800
commitd4998e37d859e4702407b9a85af6a8ac2fabe686 (patch)
tree4a1b5f965906c35dc7142f0d914c8296c815c31e /modules/gallery/helpers
parent98bcb95b1065a044909c4c4ff15d93fafc793df7 (diff)
Don't forget to flush the relative_url_cache when updating the slug.
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/gallery_installer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_installer.php b/modules/gallery/helpers/gallery_installer.php
index 8227fdc9..d2378d64 100644
--- a/modules/gallery/helpers/gallery_installer.php
+++ b/modules/gallery/helpers/gallery_installer.php
@@ -479,6 +479,7 @@ class gallery_installer {
db::build()
->update("items")
->set("slug", $new_slug)
+ ->set("relative_url_cache", null)
->where("id", "=", $row->id)
->execute();
}