Skip to content

Commit

Permalink
Bug #20031: Remove legacy svn_path option.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Opitz committed Aug 8, 2013
1 parent 95e0de1 commit cde0e35
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions VersionControl/SVN/Command.php
Expand Up @@ -93,13 +93,6 @@ abstract class VersionControl_SVN_Command
*/ */
public $binaryPath = '/usr/local/bin/svn'; public $binaryPath = '/usr/local/bin/svn';


/**
* Legacy / compatibility location of the svn client binary
*
* @var string $svn_path
*/
public $svn_path = '';

/** /**
* String to prepend to command string. Helpful for setting exec() * String to prepend to command string. Helpful for setting exec()
* environment variables, such as: * environment variables, such as:
Expand Down Expand Up @@ -443,10 +436,6 @@ public function checkCommandRequirements()
*/ */
public function run($args = array(), $switches = array()) public function run($args = array(), $switches = array())
{ {
if ($this->svn_path != '') {
$this->binaryPath = $this->svn_path;
}

if (!file_exists($this->binaryPath)) { if (!file_exists($this->binaryPath)) {
$system = new System(); $system = new System();
$this->binaryPath = $system->which('svn'); $this->binaryPath = $system->which('svn');
Expand Down

0 comments on commit cde0e35

Please sign in to comment.