Forgot these when i created the make_album_cover method

This commit is contained in:
Tim Almdal
2009-05-01 23:32:35 +00:00
parent 590eceaf93
commit 71cac8bf15
2 changed files with 2 additions and 7 deletions
+1 -4
View File
@@ -94,10 +94,7 @@ class movie_Core {
// If the parent has no cover item, make this it.
if ($parent->album_cover_item_id == null) {
$parent->album_cover_item_id = $movie->id;
$parent->save();
graphics::generate($parent);
$movie->make_album_cover();
}
return $movie;
+1 -3
View File
@@ -98,9 +98,7 @@ class photo_Core {
// If the parent has no cover item, make this it.
if ($parent->album_cover_item_id == null) {
$parent->album_cover_item_id = $photo->id;
$parent->save();
graphics::generate($parent);
$photo->make_album_cover();
}
return $photo;