Rename default branch from master to main

This commit is contained in:
Frédéric Guillot
2022-08-11 20:49:37 -07:00
committed by Frédéric Guillot
parent ce6c4dfc67
commit b433519686
10 changed files with 13 additions and 13 deletions

View File

@@ -19,7 +19,7 @@ class Version
*/
public static function isCompatible($pluginCompatibleVersion, $appVersion = APP_VERSION)
{
if (strpos($appVersion, 'master') !== false) {
if (strpos($appVersion, 'master') !== false || strpos($appVersion, 'main') !== false) {
return true;
}