added suppression of progress by default

This commit is contained in:
Matthew Vale
2015-12-03 14:59:46 +00:00
parent 7ce32f11d4
commit fb4edcdd74
3 changed files with 10 additions and 2 deletions
@@ -33,6 +33,7 @@ include "root.php";
protected $dbh;
public $debug = false;
public $echo_progress = false;
function __construct($global_settings) {
if(is_null($global_settings)){
@@ -63,7 +64,9 @@ include "root.php";
}
function write_progress($message) {
echo "$message\n";
if($this->echo_progress){
echo "$message\n";
}
}
//$options '-n' --no-clobber