PHP Class VersionPress\Utils\UninstallationUtil

Mostra file Open project: versionpress/versionpress Class Usage Examples

Public Methods

Method Description
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.

Method Details

uninstallationShouldRemoveGitRepo() public static method

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.