MTrack/SCM/Git/WorkingCopy.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 08:38:16 +0000 (16:38 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 08:38:16 +0000 (16:38 +0800)
MTrack/SCM/Git/WorkingCopy.php

index 859d599..3b689f7 100644 (file)
@@ -36,7 +36,7 @@ class MTrack_SCM_Git_WorkingCopy extends MTrackSCMWorkingCopy
         if ($this->push) {
           echo stream_get_contents($this->git('push'));
         }
-        mtrack_rmdir($this->dir);
+        parent::__destruct($this->dir);
     }
   
     function getFile($path)