[CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL

This commit is contained in:
Diogo Cordeiro
2019-11-21 00:21:22 +00:00
committed by Diogo Peralta Cordeiro
parent 7bd316b506
commit 165edc2609
110 changed files with 112 additions and 111 deletions

View File

@@ -126,7 +126,7 @@ class ForceGroupPlugin extends Plugin
*/
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ForceGroup';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ForceGroup';
$versions[] = array('name' => 'ForceGroup',
'version' => self::PLUGIN_VERSION,