summaryrefslogtreecommitdiff
path: root/core/helpers/photo.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-02 20:34:02 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-02 20:34:02 +0000
commitb4c9a970502c491840d640857ee1617e86207ffd (patch)
tree7d017393bf2fdb4b0fcf20a2f274f6c0ac8fff18 /core/helpers/photo.php
parent0fd82598b50fb5d93816689525f3a1bd7b4e52ab (diff)
Create item helper and move move_item(), remove_album_cover() and
make_album_cover() functions into it.
Diffstat (limited to 'core/helpers/photo.php')
-rw-r--r--core/helpers/photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/photo.php b/core/helpers/photo.php
index 0677b7e1..c086393e 100644
--- a/core/helpers/photo.php
+++ b/core/helpers/photo.php
@@ -98,7 +98,7 @@ class photo_Core {
// If the parent has no cover item, make this it.
if ($parent->album_cover_item_id == null) {
- core::make_album_cover($photo);
+ item::make_album_cover($photo);
}
return $photo;