Changeset 139:3ccd56e7922b for inc/core
- Timestamp:
- 05/04/11 13:26:40 (15 years ago)
- Branch:
- userprefs
- File:
- 
          - 1 edited
 
 - 
          inc/core/class.dc.prefs.php (modified) (3 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
        inc/core/class.dc.prefs.phpr106 r139 42 42 $this->table = $core->prefix.'pref'; 43 43 $this->user_id =& $user_id; 44 //~$this->loadPrefs();44 $this->loadPrefs(); 45 45 } 46 46 … … 48 48 Retrieves all workspaces (and their prefs) from database, with one query. 49 49 */ 50 p ublicfunction loadPrefs()50 private function loadPrefs() 51 51 { 52 52 $strReq = 'SELECT user_id, pref_id, pref_value, '. … … 60 60 } catch (Exception $e) { 61 61 trigger_error(__('Unable to retrieve workspaces:').' '.$this->con->error(), E_USER_ERROR); 62 throw $e;63 62 } 64 63 
Note: See TracChangeset
          for help on using the changeset viewer.
      