Skip to content

Commit

Permalink
remove style references
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidely committed May 1, 2024
1 parent d373b04 commit 7876dc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions src/Hooks/MainHookHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public function onSiteNoticeAfter( &$siteNotice, $skin ) {
'networknotice',
[
'notice_text',
'style',
'category',
'prefix',
'notice_id'
Expand All @@ -75,7 +74,6 @@ public function onSiteNoticeAfter( &$siteNotice, $skin ) {
if ( empty( $row->category ) ) {
$siteNotice .= NoticeHtml::getNoticeHTML(
$out,
$row->style,
$row->notice_text,
$row->notice_id
);
Expand All @@ -84,7 +82,6 @@ public function onSiteNoticeAfter( &$siteNotice, $skin ) {
if ( $category === $row->category ) {
$siteNotice .= NoticeHtml::getNoticeHTML(
$out,
$row->style,
$row->notice_text,
$row->notice_id
);
Expand Down
4 changes: 0 additions & 4 deletions src/SpecialPage/SpecialNetworkNotice.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,6 @@ public function execute( $par ) {
foreach ( $currentnotices as $row ) {
$preContent = $this->msg( 'networknotice-create-notice-text-label' )->text()
. ' ' . $row->notice_text . "\n";
$preContent .= $this->msg( 'networknotice-create-notice-style-label' )->text()
. ' ' . $row->style . "\n";
if ( $row->wiki ) {
$preContent .= $this->msg( 'networknotice-create-notice-wiki-label' )->text()
. ' ' . $row->wiki . "\n";
Expand Down Expand Up @@ -363,7 +361,6 @@ private function getNetworkNotices() {
'notice_id',
'label',
'notice_text',
'style',
'wiki',
'category',
'prefix',
Expand All @@ -386,7 +383,6 @@ private function getNetworkNoticeById( $id ) {
'notice_id',
'label',
'notice_text',
'style',
'wiki',
'category',
'prefix',
Expand Down

0 comments on commit 7876dc2

Please sign in to comment.