summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-02 21:13:13 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-02 21:13:13 +0000
commitf2479cc65a5c2d9771c1924837087695681bcddb (patch)
tree7b022065977599471a6f2cfdcc8b510e0d4937c8
parent4b790f5b76dd1258cdd571a59a45681bfc1f9dab (diff)
Mark functions as static
-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());