MTrack/SCMWorkingCopy.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 08:35:48 +0000 (16:35 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 08:35:48 +0000 (16:35 +0800)
MTrack/SCMWorkingCopy.php

index efd215a..02f5a69 100644 (file)
@@ -33,7 +33,8 @@ abstract class MTrackSCMWorkingCopy {
     function __destruct()
     {
         if (strlen($this->dir) > 1) {
-            mtrack_rmdir($this->dir);
+            require_once 'System.php'
+            System::rmdir($this->dir, '-r');
         }
     }
     function generateTempDir()