Update references to friendica/friendica-directory stable branch
This commit is contained in:
parent
30bdf306ba
commit
ad6db150c5
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
1. Fork the repository
|
1. Fork the repository
|
||||||
2. Create a new branch for each feature or improvement
|
2. Create a new branch for each feature or improvement
|
||||||
3. Send a pull request from each feature branch to the master branch
|
3. Send a pull request from each feature branch to the stable branch
|
||||||
|
|
||||||
It is very important to separate new features or improvements into separate feature branches, and to send a
|
It is very important to separate new features or improvements into separate feature branches, and to send a
|
||||||
pull request for each branch. This allows us to review and pull in new features or improvements individually.
|
pull request for each branch. This allows us to review and pull in new features or improvements individually.
|
||||||
|
|
|
@ -46,7 +46,7 @@ class Servers extends BaseController
|
||||||
{
|
{
|
||||||
$stable_version = $this->simplecache->get('stable_version');
|
$stable_version = $this->simplecache->get('stable_version');
|
||||||
if (!$stable_version) {
|
if (!$stable_version) {
|
||||||
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/master/VERSION'));
|
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/stable/VERSION'));
|
||||||
$this->simplecache->set('stable_version', $stable_version);
|
$this->simplecache->set('stable_version', $stable_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ class Statistics extends BaseController
|
||||||
|
|
||||||
$stable_version = $this->simplecache->get('stable_version');
|
$stable_version = $this->simplecache->get('stable_version');
|
||||||
if (!$stable_version) {
|
if (!$stable_version) {
|
||||||
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/master/VERSION'));
|
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/stable/VERSION'));
|
||||||
$this->simplecache->set('stable_version', $stable_version);
|
$this->simplecache->set('stable_version', $stable_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -355,7 +355,7 @@ class Server
|
||||||
} else {
|
} else {
|
||||||
$stable_version = $this->simplecache->get('stable_version');
|
$stable_version = $this->simplecache->get('stable_version');
|
||||||
if (!$stable_version) {
|
if (!$stable_version) {
|
||||||
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/master/VERSION'));
|
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/stable/VERSION'));
|
||||||
$this->simplecache->set('stable_version', $stable_version);
|
$this->simplecache->set('stable_version', $stable_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue