[vscweb-commit] SF.net SVN: vscweb: [455] trunk/Main/Host/Scan/quickscan.php
Brought to you by:
cirrusrex
|
From: <hc...@us...> - 2006-08-03 20:59:50
|
Revision: 455 Author: hctv19 Date: 2006-08-03 13:59:47 -0700 (Thu, 03 Aug 2006) ViewCVS: http://svn.sourceforge.net/vscweb/?rev=455&view=rev Log Message: ----------- Removed some debugging code that was causing arrays to be printed to screen when duplicate host entries were overwritter on quickscans Modified Paths: -------------- trunk/Main/Host/Scan/quickscan.php Modified: trunk/Main/Host/Scan/quickscan.php =================================================================== --- trunk/Main/Host/Scan/quickscan.php 2006-08-03 01:25:13 UTC (rev 454) +++ trunk/Main/Host/Scan/quickscan.php 2006-08-03 20:59:47 UTC (rev 455) @@ -44,9 +44,9 @@ $messages = array(); $_proc = array(); -echo "<pre>"; -print_r($i->hostids); -echo "</pre>"; +//echo "<pre>"; +//print_r($i->hostids); +//echo "</pre>"; if ($i->process == "Request") { /* finalize request */ if ($i->policy_id != "" and sizeof($hostids) > 0) { @@ -54,9 +54,9 @@ $i->policy_id = POLICY_GetIDByName('Full Scan', $_CONFIG['ROOT_DOMAIN']); $_proc[] = "<span style='color: red;'>The policy you have chosen does not exist; using Full Scan policy.</span>"; } - print "<pre>"; - print_r($hostids); - print "</pre>"; + //print "<pre>"; + //print_r($hostids); + //print "</pre>"; $bad_hosts = HOST_ValidateHostList($hostids, $_USER['domain']); if (is_array($bad_hosts) and sizeof($bad_hosts) > 0) { /* we have bad hosts */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |