1
0

Make functions static.

This commit is contained in:
Bharat Mediratta 2010-06-26 12:06:58 -07:00
parent 97088a3b03
commit 071e931642

View File

@ -19,7 +19,7 @@
*/
class three_nids_Core {
public function fancylink($item, $view_type="album", $group_img = true,
static function fancylink($item, $view_type="album", $group_img = true,
$display_comment = true, $parent_title_class = "h2") {
// view_type = album || dynamic || header
$link = "";
@ -112,7 +112,7 @@ class three_nids_Core {
return $link;
}
public function comment_count($item) {
static function comment_count($item) {
access::required("view", $item);
return ORM::factory("comment")