defines changed to GNU social names instead of StatusNet

This commit is contained in:
Mikael Nordfeldth 2013-10-27 11:27:12 +01:00
parent 362b6ad2fc
commit 2ef9beb4b1
2 changed files with 7 additions and 7 deletions

View File

@ -17,15 +17,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
if (!defined('GNUSOCIAL')) { exit(1); }
define('STATUSNET_BASE_VERSION', '1.1.1');
define('STATUSNET_LIFECYCLE', 'release'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
define('STATUSNET_VERSION', STATUSNET_BASE_VERSION . '-' . STATUSNET_LIFECYCLE);
define('GNUSOCIAL_BASE_VERSION', '1.1.1');
define('GNUSOCIAL_LIFECYCLE', 'alpha'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
define('LACONICA_VERSION', STATUSNET_VERSION); // compatibility
define('GNUSOCIAL_VERSION', GNUSOCIAL_BASE_VERSION . '-' . GNUSOCIAL_LIFECYCLE);
define('STATUSNET_VERSION', GNUSOCIAL_VERSION); // compatibility
define('STATUSNET_CODENAME', 'OK');
define('GNUSOCIAL_CODENAME', 'Not decided yet');
define('AVATAR_PROFILE_SIZE', 96);
define('AVATAR_STREAM_SIZE', 48);

View File

@ -249,7 +249,7 @@ class HTTPClient extends HTTP_Request2
*/
function userAgent()
{
return "GNU Social/".STATUSNET_VERSION." (".STATUSNET_CODENAME.")";
return "GNU Social/".GNUSOCIAL_VERSION." (".GNUSOCIAL_CODENAME.")";
}
/**