Commit cb2d1313 authored by Jonathan.Wage's avatar Jonathan.Wage

Fixed so packages folder is not created unless it is needed/used.

parent 85ef90fd
...@@ -129,8 +129,6 @@ class Doctrine_Import_Builder ...@@ -129,8 +129,6 @@ class Doctrine_Import_Builder
*/ */
public function setTargetPath($path) public function setTargetPath($path)
{ {
Doctrine::makeDirectories($path);
if ( ! $this->_packagesPath) { if ( ! $this->_packagesPath) {
$this->setPackagesPath($path . DIRECTORY_SEPARATOR . 'packages'); $this->setPackagesPath($path . DIRECTORY_SEPARATOR . 'packages');
} }
...@@ -157,8 +155,6 @@ class Doctrine_Import_Builder ...@@ -157,8 +155,6 @@ class Doctrine_Import_Builder
*/ */
public function setPackagesPath($packagesPath) public function setPackagesPath($packagesPath)
{ {
Doctrine::makeDirectories($packagesPath);
$this->_packagesPath = $packagesPath; $this->_packagesPath = $packagesPath;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment