Dotclear

Changeset 147:421794608368 for inc


Ignore:
Timestamp:
05/04/11 17:05:49 (14 years ago)
Author:
xave <xave@…>
Branch:
userprefs
Children:
148:a5ffa124056c, 154:b948351eb8c9
Message:

Gosh, that was dirty.

Location:
inc/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.prefs.php

    r141 r147  
    4444          try {$this->loadPrefs();} catch (Exception $e) { 
    4545               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); 
    4747               } 
    4848          } 
     
    6363               $rs = $this->con->select($strReq); 
    6464          } 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); 
    6765               throw $e; 
    6866          } 
  • inc/core/class.dc.workspace.php

    r141 r147  
    4848          try {$this->getPrefs($rs);} catch (Exception $e) { 
    4949               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); 
    5151               } 
    5252          } 
     
    6767                    $rs = $this->con->select($strReq); 
    6868               } catch (Exception $e) { 
    69                     //~ trigger_error(__('Unable to retrieve prefs:').' '.$this->con->error(), E_USER_ERROR); 
    7069                    throw $e; 
    7170               } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map