r69295 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69294‎ | r69295 | r69296 >
Date:20:51, 12 July 2010
Author:nyergler
Status:deferred
Tags:
Comment:
Removed hard-coded reference to Teamspace.
Patch from rejon, supplied with bug 24243.
Modified paths:
  • /trunk/extensions/SemanticTasks/ST_CheckForReminders.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticTasks/ST_CheckForReminders.php
@@ -11,6 +11,12 @@
1212 require_once( dirname( __FILE__ ) . '/SemanticTasks.classes.php' );
1313
1414 // Let's send reminders
15 -SemanticTasksMailer::remindAssignees( 'http://teamspace.creativecommons.org/' );
 15+if ( empty($wgServerNamePath) )
 16+{
 17+ print( "ST check for reminders $wgServerNamePath not set." );
 18+ return 1;
 19+}
1620
 21+SemanticTasksMailer::remindAssignees( $wgServerNamePath );
 22+
1723 print( "ST check for reminders\n" );

Status & tagging log