예제 #1
0
 /**
  * Post-restoration cleanup. Renames files and removes the installation directory.
  *
  * @return bool
  */
 public function cleanup()
 {
     // Delete the cache directory, too
     $result = $this->recursive_remove_directory(APATH_ROOT . '/var/cache', true);
     $result = parent::cleanup() && $result;
     return $result;
 }
예제 #2
0
 public function cleanup()
 {
     // First of all let's be sure that the cache path is empty, otherwise Doctrine would load the previous cached version
     $this->recursive_remove_directory(APATH_ROOT . '/app/cache/prod');
     $result = parent::cleanup();
     return $result;
 }