PHP Class VersionPress\Utils\UninstallationUtil

Afficher le fichier Open project: versionpress/versionpress Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
public static uninstallationShouldRemoveGitRepo ( ) : boolean
Résultat boolean