spree
spree copied to clipboard
Change after_save hook to after_update, because on create, this updat…
…e is not necessary. Additionally, these updates on create cause issues with translations (such as spree_globalize or spree_mobility)
As said in commit message, these hooks should be after_update, as they serve no purpose on create. Also, even if they should technically work, they break spree_globalize or spree_mobility translations in a very edge-casey way. Also see https://github.com/mrbrdo/spree_mobility/issues/6
Besides, all it does on create is make a bunch of unnecessary queries and slow things down.
@rafalcymerys please merge, quite obvious fix.
