Commit f110fc5c authored by mmn's avatar mmn

Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION

parent 255943d7
......@@ -52,12 +52,12 @@ class ApiGNUsocialVersionAction extends ApiPrivateAuthAction
switch ($this->format) {
case 'xml':
$this->initDocument('xml');
$this->element('version', null, STATUSNET_VERSION);
$this->element('version', null, GNUSOCIAL_VERSION);
$this->endDocument('xml');
break;
case 'json':
$this->initDocument('json');
print '"'.STATUSNET_VERSION.'"';
print '"'.GNUSOCIAL_VERSION.'"';
$this->endDocument('json');
break;
default:
......
......@@ -302,17 +302,17 @@ class Action extends HTMLOutputter // lawsuit
if (Event::handle('StartShowUAStyles', array($this))) {
$this->comment('[if IE]><link rel="stylesheet" type="text/css" '.
'href="'.Theme::path('css/ie.css', 'base').'?version='.STATUSNET_VERSION.'" /><![endif]');
'href="'.Theme::path('css/ie.css', 'base').'?version='.GNUSOCIAL_VERSION.'" /><![endif]');
foreach (array(6,7) as $ver) {
if (file_exists(Theme::file('css/ie'.$ver.'.css', 'base'))) {
// Yes, IE people should be put in jail.
$this->comment('[if lte IE '.$ver.']><link rel="stylesheet" type="text/css" '.
'href="'.Theme::path('css/ie'.$ver.'.css', 'base').'?version='.STATUSNET_VERSION.'" /><![endif]');
'href="'.Theme::path('css/ie'.$ver.'.css', 'base').'?version='.GNUSOCIAL_VERSION.'" /><![endif]');
}
}
if (file_exists(Theme::file('css/ie.css'))) {
$this->comment('[if IE]><link rel="stylesheet" type="text/css" '.
'href="'.Theme::path('css/ie.css', null).'?version='.STATUSNET_VERSION.'" /><![endif]');
'href="'.Theme::path('css/ie.css', null).'?version='.GNUSOCIAL_VERSION.'" /><![endif]');
}
Event::handle('EndShowUAStyles', array($this));
}
......
......@@ -168,7 +168,7 @@ class Atom10Feed extends XMLStringer
$this->element(
'generator', array(
'uri' => 'http://status.net',
'version' => STATUSNET_VERSION
'version' => GNUSOCIAL_VERSION
),
'StatusNet'
);
......
......@@ -141,7 +141,7 @@ class Cache
$build = common_config('site', 'build');
$prefix = STATUSNET_VERSION.':'.$build.':'.$uniq;
$prefix = GNUSOCIAL_VERSION.':'.$build.':'.$uniq;
}
return Cache::key($prefix.':'.$extra);
......
......@@ -26,7 +26,6 @@ define('GNUSOCIAL_BASE_VERSION', '1.1.1');
define('GNUSOCIAL_LIFECYCLE', 'alpha'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
define('GNUSOCIAL_VERSION', GNUSOCIAL_BASE_VERSION . '-' . GNUSOCIAL_LIFECYCLE);
define('STATUSNET_VERSION', GNUSOCIAL_VERSION); // compatibility
define('GNUSOCIAL_CODENAME', 'Not decided yet');
......
......@@ -377,7 +377,7 @@ class HTMLOutputter extends XMLOutputter
if (strpos($src, 'plugins/') === 0 || strpos($src, 'local/') === 0) {
$src = common_path($src, StatusNet::isHTTPS()) . '?version=' . STATUSNET_VERSION;
$src = common_path($src, StatusNet::isHTTPS()) . '?version=' . GNUSOCIAL_VERSION;
} else {
......@@ -428,7 +428,7 @@ class HTMLOutputter extends XMLOutputter
$path = '/'.$path;
}
$src = $protocol.'://'.$server.$path.$src . '?version=' . STATUSNET_VERSION;
$src = $protocol.'://'.$server.$path.$src . '?version=' . GNUSOCIAL_VERSION;
}
}
......@@ -486,7 +486,7 @@ class HTMLOutputter extends XMLOutputter
}else{
$src = common_path($src, StatusNet::isHTTPS());
}
$src.= '?version=' . STATUSNET_VERSION;
$src.= '?version=' . GNUSOCIAL_VERSION;
}
$this->element('link', array('rel' => 'stylesheet',
'type' => 'text/css',
......
......@@ -125,7 +125,7 @@ class Snapshot
// Some basic identification stuff
$this->stats['version'] = STATUSNET_VERSION;
$this->stats['version'] = GNUSOCIAL_VERSION;
$this->stats['phpversion'] = phpversion();
$this->stats['name'] = common_config('site', 'name');
$this->stats['root'] = common_root_url();
......
......@@ -105,7 +105,7 @@ class APCPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'APC',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:APC',
'rawdescription' =>
......
......@@ -90,7 +90,7 @@ class AccountManagerPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'AccountManager',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:AccountManager',
'rawdescription' =>
......
......@@ -218,7 +218,7 @@ class ActivitySpamPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'ActivitySpam',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:ActivitySpam',
'description' =>
......
......@@ -188,7 +188,7 @@ class AdsensePlugin extends UAPPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'BlankAdPlugin',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Adsense',
'rawdescription' =>
......
......@@ -154,7 +154,7 @@ class AimPlugin extends ImPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'AIM',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:AIM',
'rawdescription' =>
......
......@@ -78,7 +78,7 @@ class ApiLoggerPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'ApiLogger',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:ApiLogger',
'rawdescription' =>
......
......@@ -149,7 +149,7 @@ class AuthCryptPlugin extends AuthenticationPlugin
public function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'AuthCrypt',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://status.net/wiki/Plugin:AuthCrypt',
'rawdescription' =>
......
......@@ -59,7 +59,7 @@ class AutoSandboxPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'AutoSandbox',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Sean Carmody',
'homepage' => 'http://status.net/wiki/Plugin:AutoSandbox',
'rawdescription' =>
......
......@@ -55,7 +55,7 @@ class AutocompletePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Autocomplete',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:Autocomplete',
'rawdescription' =>
......
......@@ -148,7 +148,7 @@ class BitlyUrlPlugin extends UrlShortenerPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => sprintf('BitlyUrl (%s)', $this->shortenerName),
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews, Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:BitlyUrl',
'rawdescription' =>
......
......@@ -42,7 +42,7 @@ if (!defined('STATUSNET')) {
*/
class BlacklistPlugin extends Plugin
{
const VERSION = STATUSNET_VERSION;
const VERSION = GNUSOCIAL_VERSION;
public $nicknames = array();
public $urls = array();
......
......@@ -120,7 +120,7 @@ class BlankAdPlugin extends UAPPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'BlankAd',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:BlankAdPlugin',
'rawdescription' =>
......
......@@ -87,7 +87,7 @@ class BlogPlugin extends MicroAppPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Blog',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Blog',
'rawdescription' =>
......
......@@ -99,7 +99,7 @@ class CacheLogPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'CacheLog',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:CacheLog',
'description' =>
......
......@@ -150,7 +150,7 @@ class CasAuthenticationPlugin extends AuthenticationPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'CAS Authentication',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:CasAuthentication',
// TRANS: Plugin description. CAS is Central Authentication Service.
......
......@@ -57,7 +57,7 @@ class ClientSideShortenPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Shorten',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:ClientSideShorten',
'rawdescription' =>
......
......@@ -107,7 +107,7 @@ class CometPlugin extends RealtimePlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Comet',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Comet',
'rawdescription' =>
......
......@@ -220,7 +220,7 @@ class DirectoryPlugin extends Plugin
{
$versions[] = array(
'name' => 'Directory',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:Directory',
// TRANS: Plugin description.
......
......@@ -164,7 +164,7 @@ class DiskCachePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'DiskCache',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:DiskCache',
'rawdescription' =>
......
......@@ -238,7 +238,7 @@ ENDOFSCRIPT;
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Disqus',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:Disqus',
'rawdescription' =>
......
......@@ -193,7 +193,7 @@ class DomainStatusNetworkPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'DomainStatusNetwork',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:DomainStatusNetwork',
'rawdescription' =>
......
......@@ -270,7 +270,7 @@ class DomainWhitelistPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'DomainWhitelist',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou, Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:DomainWhitelist',
'rawdescription' =>
......
......@@ -104,7 +104,7 @@ class EchoPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Echo',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:Echo',
'rawdescription' =>
......
......@@ -53,7 +53,7 @@ class EmailAuthenticationPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Email Authentication',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:EmailAuthentication',
'rawdescription' =>
......
......@@ -175,7 +175,7 @@ class EmailRegistrationPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'EmailRegistration',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:EmailRegistration',
'rawdescription' =>
......
......@@ -183,7 +183,7 @@ class EmailReminderPlugin extends Plugin
{
$versions[] = array(
'name' => 'EmailReminder',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:EmailReminder',
// TRANS: Plugin description.
......
......@@ -69,7 +69,7 @@ class EmailSummaryPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'EmailSummary',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:EmailSummary',
'rawdescription' =>
......
......@@ -93,7 +93,7 @@ class EventPlugin extends MicroappPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Event',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Event',
'description' =>
......
......@@ -33,7 +33,7 @@ class ExtendedProfilePlugin extends Plugin
{
$versions[] = array(
'name' => 'ExtendedProfile',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber, Samantha Doherty, Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:ExtendedProfile',
// TRANS: Plugin description.
......
......@@ -617,7 +617,7 @@ ENDOFSCRIPT;
{
$versions[] = array(
'name' => 'Facebook Bridge',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews, Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:FacebookBridge',
'rawdescription' =>
......
......@@ -61,7 +61,7 @@ class FirePHPPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'FirePHP',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:FirePHP',
'rawdescription' =>
......
......@@ -168,7 +168,7 @@ class FollowEveryonePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'FollowEveryone',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:FollowEveryone',
'rawdescription' =>
......
......@@ -110,7 +110,7 @@ class ForceGroupPlugin extends Plugin
$url = 'http://status.net/wiki/Plugin:ForceGroup';
$versions[] = array('name' => 'ForceGroup',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => $url,
'rawdescription' =>
......
......@@ -117,7 +117,7 @@ class GeoURLPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'GeoURL',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:GeoURL',
'rawdescription' =>
......
......@@ -490,7 +490,7 @@ class GeonamesPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Geonames',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Geonames',
'rawdescription' =>
......
......@@ -62,7 +62,7 @@ class GravatarPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Gravatar',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Eric Helgeson, Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Gravatar',
'rawdescription' =>
......
......@@ -70,7 +70,7 @@ class GroupFavoritedPlugin extends Plugin
$url = 'http://status.net/wiki/Plugin:GroupFavorited';
$versions[] = array('name' => 'GroupFavorited',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => $url,
'rawdescription' =>
......
......@@ -405,7 +405,7 @@ class GroupPrivateMessagePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'GroupPrivateMessage',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:GroupPrivateMessage',
'rawdescription' =>
......
......@@ -79,7 +79,7 @@ class ImapPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'IMAP',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:IMAP',
'rawdescription' =>
......
......@@ -175,7 +175,7 @@ class InProcessCachePlugin extends Plugin
$url = 'http://status.net/wiki/Plugin:InProcessCache';
$versions[] = array('name' => 'InProcessCache',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => $url,
'description' =>
......
......@@ -52,7 +52,7 @@ class InfiniteScrollPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'InfiniteScroll',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:InfiniteScroll',
'rawdescription' =>
......
......@@ -374,7 +374,7 @@ class IrcPlugin extends ImPlugin {
*/
public function onPluginVersion(&$versions) {
$versions[] = array('name' => 'IRC',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Luke Fitzgerald',
'homepage' => 'http://status.net/wiki/Plugin:IRC',
'rawdescription' =>
......
......@@ -54,7 +54,7 @@ class LRDDPlugin extends Plugin
public function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'LRDD',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://www.gnu.org/software/social/',
// TRANS: Plugin description.
......
......@@ -145,7 +145,7 @@ class LdapAuthenticationPlugin extends AuthenticationPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'LDAP Authentication',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:LdapAuthentication',
'rawdescription' =>
......
......@@ -121,7 +121,7 @@ class LdapAuthorizationPlugin extends AuthorizationPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'LDAP Authorization',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:LdapAuthorization',
'rawdescription' =>
......
......@@ -60,7 +60,7 @@ class LilUrlPlugin extends UrlShortenerPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => sprintf('LilUrl (%s)', $this->shortenerName),
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:LilUrl',
'rawdescription' =>
......
......@@ -32,7 +32,7 @@ class LinkPreviewPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'LinkPreview',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:LinkPreview',
'rawdescription' =>
......
......@@ -42,7 +42,7 @@ class LogFilterPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'LogFilter',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:LogFilter',
'rawdescription' =>
......
......@@ -46,7 +46,7 @@ if (!defined('STATUSNET')) {
*/
class MapstractionPlugin extends Plugin
{
const VERSION = STATUSNET_VERSION;
const VERSION = GNUSOCIAL_VERSION;
/** provider name, one of:
'cloudmade', 'google', 'microsoft', 'openlayers', 'yahoo' */
......
......@@ -239,7 +239,7 @@ class MemcachePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Memcache',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou, Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:Memcache',
'rawdescription' =>
......
......@@ -210,7 +210,7 @@ class MemcachedPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Memcached',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou, Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:Memcached',
'rawdescription' =>
......
......@@ -162,7 +162,7 @@ class MeteorPlugin extends RealtimePlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Meteor',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Meteor',
'rawdescription' =>
......
......@@ -144,7 +144,7 @@ class MinifyPlugin extends Plugin
}
function minifyUrl($src) {
return common_local_url('minify',null,array('f' => $src ,v => STATUSNET_VERSION));
return common_local_url('minify',null,array('f' => $src ,v => GNUSOCIAL_VERSION));
}
static function minifyJs($code) {
......@@ -160,7 +160,7 @@ class MinifyPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Minify',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:Minify',
'rawdescription' =>
......
......@@ -410,7 +410,7 @@ class MobileProfilePlugin extends WAP20Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'MobileProfile',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Sarven Capadisli',
'homepage' => 'http://status.net/wiki/Plugin:MobileProfile',
'rawdescription' =>
......
......@@ -32,7 +32,7 @@ class ModHelperPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'ModHelper',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:ModHelper',
'rawdescription' =>
......
......@@ -186,7 +186,7 @@ class ModLogPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'ModLog',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:ModLog',
'description' =>
......
......@@ -32,7 +32,7 @@ class ModPlusPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'ModPlus',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:ModPlus',
'rawdescription' =>
......
......@@ -197,7 +197,7 @@ class MsnPlugin extends ImPlugin {