PHP Класс VersionPress\Utils\UninstallationUtil

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.
public static uninstallationShouldRemoveGitRepo ( ) : boolean
Результат boolean