includes/common.php
changeset 945 c19242d13a49
parent 901 99ea0b0ac4be
child 956 25b1bdce985b
--- a/includes/common.php	Sun Apr 26 08:03:42 2009 -0400
+++ b/includes/common.php	Mon May 04 23:02:53 2009 -0400
@@ -402,7 +402,7 @@
   $p = RenderMan::strToPageId($paths->get_pageid_from_url());
   if( ( $p[1] == 'Admin' || $p[1] == 'Special' ) && function_exists('page_'.$p[1].'_'.$p[0].'_preloader'))
   {
-    @call_user_func('page_'.$p[1].'_'.$p[0].'_preloader');
+    call_user_func('page_'.$p[1].'_'.$p[0].'_preloader');
   }
   
   profiler_log('Checked for preloader');
@@ -416,13 +416,6 @@
   // All checks passed! Start the main components up.  
   $session->start();
   
-  // Grab language strings from the database
-  if ( is_object(@$lang) )
-  {
-    $lang->fetch();
-    profiler_log('Fetched language strings');
-  }
-  
   // Add all of our built in special pages
   foreach ( array('SpecialUserFuncs', 'SpecialPageFuncs', 'SpecialAdmin', 'SpecialCSS', 'SpecialUpDownload', 'SpecialSearch', 'PrivateMessages', 'SpecialGroups', 'SpecialLog') as $plugin )
   {