Remove var_dump() calls (suggested by #scrutinizer)

pull/2487/head
Yannick Warnier 9 years ago
parent dcd5cbf290
commit 35077ef62f
  1. 2
      main/admin/user_move_stats.php
  2. 2
      main/auth/shibboleth/test/shibboleth_test.class.php
  3. 2
      main/reports/index.php

@ -224,7 +224,7 @@ if (isset($_REQUEST['load_ajax'])) {
$sql = "UPDATE $TBL_TRACK_E_LAST_ACCESS SET access_session_id = $new_session_id WHERE access_id = $id";
if ($debug) echo $sql;
$res = Database::query($sql);
if ($debug) var_dump($res);
if ($debug) error_log(__FILE__ . ' +' . __LINE__ . ': ' . print_r($res, 1));
$result_message[$TBL_TRACK_E_LAST_ACCESS]++;
}
}

@ -205,7 +205,7 @@ class ShibbolethTest
$message = "Assert failed $message <br/>";
echo $message;
// Dump variable for debug
var_dump(debug_backtrace());
error_log(print_r(debug_backtrace(),1));
die;
}
else

@ -209,6 +209,6 @@ foreach ($reports_template as $key => $value) {
}
</script>
<?
<?php
// Footer
Display::display_footer();

Loading…
Cancel
Save