thomascube
2008-09-18 7dfb1fba5001299300736e6b5d95d9400575e3e7
program/include/rcube_user.php
@@ -59,17 +59,7 @@
    }
  }
  /**
   * PHP 4 object constructor
   *
   * @see  rcube_user::__construct
   */
  function rcube_user($id = null, $sql_arr = null)
  {
    $this->__construct($id, $sql_arr);
  }
  /**
   * Build a user name string (as e-mail address)
   *
@@ -88,10 +78,12 @@
   */
  function get_prefs()
  {
    $prefs = array('language' => $this->language);
    if ($this->ID && $this->data['preferences'])
      return array('language' => $this->language) + unserialize($this->data['preferences']);
    else
      return array();
      $prefs += (array)unserialize($this->data['preferences']);
    return $prefs;
  }