Dotclear


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.

File:
1 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          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map