Changeset 147:421794608368 for inc
- Timestamp:
- 05/04/11 17:05:49 (14 years ago)
- Branch:
- userprefs
- Children:
- 148:a5ffa124056c, 154:b948351eb8c9
- Location:
- inc/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.prefs.php
r141 r147 44 44 try {$this->loadPrefs();} catch (Exception $e) { 45 45 if (version_compare($core->getVersion('core'),'2.3','>')) { 46 trigger_error( $e->getMessage());46 trigger_error(__('Unable to retrieve workspaces:').' '.$this->con->error(), E_USER_ERROR); 47 47 } 48 48 } … … 63 63 $rs = $this->con->select($strReq); 64 64 } catch (Exception $e) { 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 65 throw $e; 68 66 } -
inc/core/class.dc.workspace.php
r141 r147 48 48 try {$this->getPrefs($rs);} catch (Exception $e) { 49 49 if (version_compare($core->getVersion('core'),'2.3','>')) { 50 trigger_error( $e->getMessage());50 trigger_error(__('Unable to retrieve prefs:').' '.$this->con->error(), E_USER_ERROR); 51 51 } 52 52 } … … 67 67 $rs = $this->con->select($strReq); 68 68 } catch (Exception $e) { 69 //~ trigger_error(__('Unable to retrieve prefs:').' '.$this->con->error(), E_USER_ERROR);70 69 throw $e; 71 70 }
Note: See TracChangeset
for help on using the changeset viewer.