Dotclear


Ignore:
Timestamp:
05/04/11 14:28:33 (14 years ago)
Author:
xave <xave@…>
Branch:
userprefs
Message:

The error is in the constructor anyway.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/prepend.php

    r139 r140  
    293293          $core->auth->check('usage,contentadmin',$core->blog->id) && $core->auth->blog_count > 1); 
    294294 
    295      try { 
    296295          // Set favorites menu 
    297296          $ws = $core->auth->user_prefs->addWorkspace('favorites'); 
     
    323322                    $core->auth->check('usage,contentadmin',$core->blog->id),'menu-new-post',null); 
    324323          } 
    325      } catch (Exception $e) { 
    326           $version = $core->getVersion('core'); 
    327           if (version_compare($version,'2.3','<')) { 
    328                ;    // Ignore lack of dc_pref table before the logout following an auto-update 
    329           } else { 
    330                $core->error->add($e->getMessage()); 
    331           } 
    332      } 
    333      } 
     324} 
    334325?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map