Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't forget to flush the relative_url_cache when updating the slug.

  • Loading branch information...
commit d4998e37d859e4702407b9a85af6a8ac2fabe686 1 parent 98bcb95
Bharat Mediratta bharat authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  modules/gallery/helpers/gallery_installer.php
1  modules/gallery/helpers/gallery_installer.php
View
@@ -479,6 +479,7 @@ static function upgrade($version) {
db::build()
->update("items")
->set("slug", $new_slug)
+ ->set("relative_url_cache", null)
->where("id", "=", $row->id)
->execute();
}
Please sign in to comment.
Something went wrong with that request. Please try again.