lib/base/BaseDeploy.class.php
protected function deletePastDeployments($past_deployments)
	{
		foreach ($past_deployments as $past_deployment)
		{
			$this->rollbackFiles($past_deployment['remote_host'], $past_deployment['remote_dir'], implode(' ', $past_deployment['dirs']));
		}
	}
protected function deletePastDeployments($past_deployments)
	{
		foreach ($past_deployments as $past_deployment)
		{
			$this->rollbackFiles($past_deployment['remote_host'], $past_deployment['remote_dir'], implode(' ', $past_deployment['dirs']));
		}
	}
protected function deletePastDeployments ( $ past_deployments ) { foreach ( $ past_deployments as $ past_deployment ) { $ this -> rollbackFiles ( $ past_deployment [ 'remote_host' ] , $ past_deployment [ 'remote_dir' ] , implode ( ' ' , $ past_deployment [ 'dirs' ] ) ) ; } }
Deletes obsolete deployments as collected by collectPastDeployments

@param array $past_deployments
Deletes obsolete deployments as collected by collectPastDeployments