Skip to content
  • anarcat's avatar
    #683800 - fix removal of symlink on site removal · 1ee65ab6
    anarcat authored
    this was failing because provision_path_unlink was checking the file existence (file_exists) before removing the symlink. in this case, the file really *didn't* exist because the link target was already removed.
    
    instead of checking, we just try to delete the file, if it fails, it will return false anyways.
    
    we do the same with rmdir while we're here.
    
    also make sure we work on the trimmed file path
    1ee65ab6