PHP 클래스 VersionPress\Utils\UninstallationUtil

파일 보기 프로젝트 열기: versionpress/versionpress 1 사용 예제들

공개 메소드들

메소드 설명
uninstallationShouldRemoveGitRepo ( ) : boolean Returns true if VP uninstallation should remove the Git repo from the root folder (and back it up somewhere). This is true if the first commit is VersionPress commit. Otherwise, the Git repo was probably created by the user before VP was installed and we should keep the repo untouched.

메소드 상세

uninstallationShouldRemoveGitRepo() 공개 정적인 메소드

Returns true if VP uninstallation should remove the Git repo from the root folder (and back it up somewhere). This is true if the first commit is VersionPress commit. Otherwise, the Git repo was probably created by the user before VP was installed and we should keep the repo untouched.