Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

This commit is contained in:
Evan Prodromou 2009-10-29 14:34:33 -04:00
commit c911c66fe1
5 changed files with 6 additions and 6 deletions

View File

@ -103,7 +103,7 @@ class OthersettingsAction extends AccountSettingsAction
foreach($_shorteners as $name=>$value)
{
$services[$name]=$name;
if($value['info']['freeService']){
if(!empty($value['info']['freeService'])){
// I18N
$services[$name].=' (free service)';
}

View File

@ -58,7 +58,7 @@ class FacebookPlugin extends Plugin
* @return boolean hook return
*/
function onRouterInitialized(&$m)
function onRouterInitialized($m)
{
// Facebook App stuff

View File

@ -62,7 +62,7 @@ class OpenIDPlugin extends Plugin
* @return boolean hook return
*/
function onRouterInitialized(&$m)
function onRouterInitialized($m)
{
$m->connect('main/openid', array('action' => 'openidlogin'));
$m->connect('settings/openid', array('action' => 'openidsettings'));

View File

@ -32,7 +32,7 @@ class TemplatePlugin extends Plugin {
// capture the RouterInitialized event
// and connect a new API method
// for updating the template
function onRouterInitialized( &$m ) {
function onRouterInitialized( $m ) {
$m->connect( 'template/update', array(
'action' => 'template',
));

View File

@ -60,12 +60,12 @@ class TwitterBridgePlugin extends Plugin
*
* Hook for RouterInitialized event.
*
* @param Net_URL_Mapper &$m path-to-action mapper
* @param Net_URL_Mapper $m path-to-action mapper
*
* @return boolean hook return
*/
function onRouterInitialized(&$m)
function onRouterInitialized($m)
{
$m->connect('twitter/authorization',
array('action' => 'twitterauthorization'));