[gallery/gallery3] d0aef9: Move "item_moved" event later in the item update p...
GitHub <noreply-9UaJU3cA/F/[email protected]> Mon, 08 Jul 2013 00:46:00 -0700
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <51da6e38dfbc2_19f0f93ddc6034e@hookshot-fe2-pe1-prd.aws.github.net.mail> |
----==_mimepart_51da6e38de761_19f0f93ddc6015 Date: Mon, 08 Jul 2013 00:46:00 -0700 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-ID: <51da6e38df372_19f0f93ddc6028d-P8FJ25gi/wisHj0ehI8gLCqyDsTP4bNorxkAB0y/[email protected]> Branch: refs/heads/master Home: https://github.com/gallery/gallery3 Commit: d0aef95a657c9e50fe255ca912bb01b7c3b74c2e https://github.com/gallery/gallery3/commit/d0aef95a657c9e50fe255ca912bb01b7c3b74c2e Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]> Date: 2013-07-08 (Mon, 08 Jul 2013) Changed paths: M modules/gallery/helpers/item.php M modules/gallery/models/item.php Log Message: ----------- Move "item_moved" event later in the item update process. Fixes #2077. Before, this was before the children's caches were cleared, so if the "item_moved" set an album cover, it would fail with an invalid path. For the same reason, we move it after the data file update, too. Lastly, get we get rid of duplicated code in item::move() since the "item_moved" event already does this. Commit: 88eeccb126e9acf94eb0927f349c16fc11211260 https://github.com/gallery/gallery3/commit/88eeccb126e9acf94eb0927f349c16fc11211260 Author: Shad Laws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]> Date: 2013-07-08 (Mon, 08 Jul 2013) Changed paths: M modules/gallery/helpers/item.php M modules/gallery/models/item.php Log Message: ----------- Merge pull request #448 from shadlaws/fix_2077_master Move "item_moved" event later in the item update process. Fixes #2077. Compare: https://github.com/gallery/gallery3/compare/188209446094...88eeccb126e9 ----==_mimepart_51da6e38de761_19f0f93ddc6015 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ----==_mimepart_51da6e38de761_19f0f93ddc6015 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline __[ g a l l e r y - c h e c k i n s ]_________________________ [ list info/archive --> http://gallery.sf.net/lists.php ] [ gallery info/FAQ/download --> http://gallery.sf.net ] ----==_mimepart_51da6e38de761_19f0f93ddc6015--