Changeset 141:340bbc2cd9f4 for inc/core/class.dc.prefs.php
- Timestamp:
- 05/04/11 15:52:51 (14 years ago)
- Branch:
- userprefs
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.prefs.php
r139 r141 42 42 $this->table = $core->prefix.'pref'; 43 43 $this->user_id =& $user_id; 44 $this->loadPrefs(); 44 try {$this->loadPrefs();} catch (Exception $e) { 45 if (version_compare($core->getVersion('core'),'2.3','>')) { 46 trigger_error($e->getMessage()); 47 } 48 } 45 49 } 46 50 … … 59 63 $rs = $this->con->select($strReq); 60 64 } catch (Exception $e) { 61 trigger_error(__('Unable to retrieve workspaces:').' '.$this->con->error(), E_USER_ERROR); 65 //~ trigger_error(__('Unable to retrieve workspaces:').' '.$this->con->error(), E_USER_ERROR); 66 //~ throw new Exception(__('Unable to retrieve workspaces:').' '.$this->con->error(), E_USER_ERROR); 67 throw $e; 62 68 } 63 69
Note: See TracChangeset
for help on using the changeset viewer.