Index: trunk/extensions/CentralNotice/special/SpecialCentralNotice.php |
— | — | @@ -1376,14 +1376,6 @@ |
1377 | 1377 | return $countries; |
1378 | 1378 | } |
1379 | 1379 | |
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 | | - |
1388 | 1380 | function getTemplateId( $templateName ) { |
1389 | 1381 | $dbr = wfGetDB( DB_SLAVE ); |
1390 | 1382 | $templateName = htmlspecialchars ( $templateName ); |