days_old should be calculated

This commit is contained in:
Shish 2009-01-04 08:01:01 -08:00
parent 0770b19b04
commit b6480f076e

View File

@ -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() {