summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/helpers/item.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers/item.php b/core/helpers/item.php
index f5dd2cc2..ada8fdf2 100644
--- a/core/helpers/item.php
+++ b/core/helpers/item.php
@@ -45,7 +45,7 @@ class item_Core {
}
}
- function make_album_cover($item) {
+ static function make_album_cover($item) {
$parent = $item->parent();
access::required("edit", $parent);
@@ -55,7 +55,7 @@ class item_Core {
graphics::generate($parent);
}
- function remove_album_cover($album) {
+ static function remove_album_cover($album) {
access::required("edit", $album);
@unlink($album->thumb_path());