Bharat Mediratta
4b790f5b76
Revert r20668; if we call our helper 'gallery' then it interferes with g2_import since it uses the Gallery2 embed interface which loads up G2's Gallery class as well. Grumble.
2009-05-02 20:49:09 +00:00
Bharat Mediratta
5950f49210
Rename core helper to gallery helper to indicate that it's more of an app-wide helper. 'core' doesn't make as much sense
2009-05-02 20:37:45 +00:00
Bharat Mediratta
b4c9a97050
Create item helper and move move_item(), remove_album_cover() and
...
make_album_cover() functions into it.
2009-05-02 20:34:02 +00:00
Bharat Mediratta
0fd82598b5
Move make_album_cover and remove_album_cover out of Item_Model and
...
into the core helper. Clean up interactions so that when we remove an
album cover we pick a new one, or clean out the old album cover if
there are no other choices.
2009-05-02 20:14:13 +00:00
Tim Almdal
820cbdf1c3
Refactor the creation and removal of the album covers into
...
make_album_cover and remove_album_cover methods in Item_Model.
Usage: $photo->make_album_cover() $album->remove_album_cover()
2009-04-29 15:57:29 +00:00
Tim Almdal
1956a6ae95
Refactor the move functionality into a helper function so it can be
...
called from organize
2009-04-22 04:20:05 +00:00
Tim Almdal
7786bb09d3
Implement a Maintenance mode as per ticket: #15
2009-03-05 00:32:33 +00:00