r91524 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91523‎ | r91524 | r91525 >
Date:03:52, 6 July 2011
Author:kaldari
Status:ok
Tags:
Comment:
removing old outdated unused function - campaigns are no longer limited to single projects
Modified paths:
  • /trunk/extensions/CentralNotice/special/SpecialCentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/special/SpecialCentralNotice.php
@@ -1376,14 +1376,6 @@
13771377 return $countries;
13781378 }
13791379
1380 - function getNoticeProjectName( $noticeName ) {
1381 - $dbr = wfGetDB( DB_SLAVE );
1382 - $eNoticeName = htmlspecialchars( $noticeName );
1383 - $res = $dbr->select( 'cn_notices', 'not_project', array( 'not_name' => $eNoticeName ) );
1384 - $row = $dbr->fetchObject( $res );
1385 - return $row->not_project;
1386 - }
1387 -
13881380 function getTemplateId( $templateName ) {
13891381 $dbr = wfGetDB( DB_SLAVE );
13901382 $templateName = htmlspecialchars ( $templateName );

Status & tagging log