Changeset 106:cca7b21765d2 for inc/core/class.dc.prefs.php
- Timestamp:
- 05/02/11 13:50:51 (14 years ago)
- Branch:
- userprefs
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.prefs.php
r3 r106 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 rivatefunction loadPrefs()50 public 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; 62 63 } 63 64
Note: See TracChangeset
for help on using the changeset viewer.