Whitespace updates (including leading tabs to spaces).

Fixed i18n.
This commit is contained in:
Siebrand Mazeland 2011-08-19 17:06:03 +02:00
parent 700b46317a
commit 4b0dd8384f
4 changed files with 169 additions and 178 deletions

View File

@ -51,7 +51,6 @@ class RealtimePlugin extends Plugin
* When it's time to initialize the plugin, calculate and
* pass the URLs we need.
*/
function onInitializePlugin()
{
// FIXME: need to find a better way to pass this pattern in
@ -367,12 +366,11 @@ class RealtimePlugin extends Plugin
$convurl = $conv->uri;
if(empty($convurl)) {
$msg = sprintf(
"Couldn't find Conversation ID %d to make 'in context'"
. "link for Notice ID %d",
$msg = sprintf( _m("Could not find Conversation ID %d to make 'in context'"
. "link for Notice ID %d.",
$notice->conversation,
$notice->id
);
));
common_log(LOG_WARNING, $msg);
} else {

View File

@ -46,7 +46,6 @@ if (!defined('STATUSNET')) {
*
* @see DB_DataObject
*/
class Realtime_channel extends Managed_DataObject
{
const TIMEOUT = 1800; // 30 minutes
@ -71,7 +70,6 @@ class Realtime_channel extends Managed_DataObject
* @param mixed $v Value to lookup
*
* @return Realtime_channel object found, or null for no hits
*
*/
function staticGet($k, $v=null)
{
@ -84,7 +82,6 @@ class Realtime_channel extends Managed_DataObject
* @param array $kv array of key-value mappings
*
* @return Realtime_channel object found, or null for no hits
*
*/
function pkeyGet($kv)
{

View File

@ -44,7 +44,6 @@ if (!defined('STATUSNET')) {
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
* @link http://status.net/
*/
class ClosechannelAction extends Action
{
protected $channelKey = null;
@ -57,7 +56,6 @@ class ClosechannelAction extends Action
*
* @return boolean true
*/
function prepare($argarray)
{
parent::prepare($argarray);
@ -88,7 +86,6 @@ class ClosechannelAction extends Action
*
* @return void
*/
function handle($argarray=null)
{
$this->channel->decrement();
@ -107,7 +104,6 @@ class ClosechannelAction extends Action
*
* @return boolean is read only action?
*/
function isReadOnly($args)
{
return false;