Changeset:
        b1558582b85d
        
https://sourceforge.net/p/mrbs/hg-code/ci/b1558582b85d260f9b94c56732147f407c08078c
Author:
        Campbell Morrison <[email protected]>
Date:
        Wed Mar 02 14:19:23 2016 +0000
Log message:

Removed disabling off error reporting for the connection to the dabase during a 
database upgrade.  If the site admin wants errors to go to the browser, eg for 
debugging, then they should.

diffstat:

 web/dbsys.inc |  5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diffs (16 lines):

diff -r 0464bab6319a -r b1558582b85d web/dbsys.inc
--- a/web/dbsys.inc     Tue Mar 01 09:42:00 2016 +0000
+++ b/web/dbsys.inc     Wed Mar 02 14:19:23 2016 +0000
@@ -892,12 +892,7 @@
     }
     else
     {
-      // Turn off error reporting for the database connection because
-      // we don't want to see the system error reports if the user
-      // supplies an incorrect username and password.
-      $old_error_reporting = error_reporting(0);
       $admin_handle = sql_connect($dbsys, $db_host, $db_admin_username, 
$db_admin_password, $db_database, 0, $db_port);
-      error_reporting($old_error_reporting);  // Turn error reporting back on
     }
   }
 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to