From 055195b302f0a2521a8b3a7f57e385a2aa03fdc2 Mon Sep 17 00:00:00 2001 From: pb1dft Date: Tue, 27 Feb 2007 18:12:42 +0000 Subject: Updated all offset_limit refs to ->pref['offset_limit'] --- lib/class/user.class.php | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'lib/class/user.class.php') diff --git a/lib/class/user.class.php b/lib/class/user.class.php index 9ff68a15..804a5819 100644 --- a/lib/class/user.class.php +++ b/lib/class/user.class.php @@ -33,7 +33,6 @@ class User { var $fullname; var $access; var $disabled; - var $offset_limit=25; var $email; var $last_seen; var $create_date; @@ -61,7 +60,6 @@ class User { $this->fullname = $info->fullname; $this->access = $info->access; $this->disabled = $info->disabled; - $this->offset_limit = $info->offset_limit; $this->email = $info->email; $this->last_seen = $info->last_seen; $this->create_date = $info->create_date; @@ -413,18 +411,6 @@ class User { } // update_email - /*! - @function update_offset - @discussion this updates the users offset_limit - */ - function update_offset($new_offset) { - - $new_offset = sql_escape($new_offset); - $sql = "UPDATE user SET offset_limit='$new_offset' WHERE `id`='$this->id'"; - $db_results = mysql_query($sql, dbh()); - - } // update_offset - /** * disable * This disables the current user -- cgit