From b6480f076eb0157cfa52f80787d1fb7e645171b1 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 4 Jan 2009 08:01:01 -0800 Subject: [PATCH] days_old should be calculated --- core/user.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/user.class.php b/core/user.class.php index 1b43cb83..0ea71062 100644 --- a/core/user.class.php +++ b/core/user.class.php @@ -10,7 +10,6 @@ class User { var $name; var $email; var $join_date; - var $days_old; var $admin; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * @@ -30,7 +29,6 @@ class User { $this->name = $row['name']; $this->email = $row['email']; $this->join_date = $row['joindate']; - $this->days_old = 0; // $row['days_old']; $this->admin = ($row['admin'] == 'Y'); } @@ -88,7 +86,7 @@ class User { } public function get_days_old() { - return $this->days_old; + return 0; // FIXME calculate this } public function get_image_count() {