From f2479cc65a5c2d9771c1924837087695681bcddb Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 2 May 2009 21:13:13 +0000 Subject: Mark functions as static --- core/helpers/item.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/helpers') 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()); -- cgit v1.2.3