Index: trunk/extensions/CentralNotice/special/SpecialNoticeTemplate.php |
— | — | @@ -783,7 +783,7 @@ |
784 | 784 | * @param $landingPages string list of landing pages (optional) |
785 | 785 | * @return boolean banner successfully added or not? |
786 | 786 | */ |
787 | | - private function addTemplate( $name, $body, $displayAnon, $displayAccount, $fundraising = 0, |
| 787 | + public function addTemplate( $name, $body, $displayAnon, $displayAccount, $fundraising = 0, |
788 | 788 | $landingPages = '' ) { |
789 | 789 | |
790 | 790 | if ( $body == '' || $name == '' ) { |