Jelajahi Sumber

removed old config file after migration

CauseFX 4 tahun lalu
induk
melakukan
4c944e63eb
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      api/classes/organizr.class.php

+ 1 - 0
api/classes/organizr.class.php

@@ -177,6 +177,7 @@ class Organizr
 			$this->makeDir(dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR);
 			if ($this->rcopy($oldUserConfigPath, $userConfigPath)) {
 				$this->userConfigPath = $userConfigPath;
+				@unlink($oldUserConfigPath);
 			} else {
 				$this->userConfigPath = $oldUserConfigPath;
 			}