Jack Phoenix has submitted this change and it was merged.

Change subject: Got rid of one unused variable + modernized the hook call
......................................................................


Got rid of one unused variable + modernized the hook call

Change-Id: I3b10da8f56d4733cc7a138aa39f492c93c9e2f81
---
M DeepSea.skin.php
1 file changed, 1 insertion(+), 4 deletions(-)

Approvals:
  Jack Phoenix: Verified; Looks good to me, approved



diff --git a/DeepSea.skin.php b/DeepSea.skin.php
index 48604d0..514e5f3 100644
--- a/DeepSea.skin.php
+++ b/DeepSea.skin.php
@@ -119,9 +119,6 @@
                                array_reverse( $this->data['personal_urls'] );
                }
 
-               // Get rid of studs if not wanted
-               $studs = true;
-
                // Output HTML Page
                $this->html( 'headelement' );
 ?>
@@ -302,7 +299,7 @@
                        }
 
                        if ( $hook !== null ) {
-                               wfRunHooks( $hook, array( &$this, true ) );
+                               Hooks::run( $hook, array( &$this, true ) );
                        }
                        ?>
                </ul>

-- 
To view, visit https://gerrit.wikimedia.org/r/311342
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3b10da8f56d4733cc7a138aa39f492c93c9e2f81
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/DeepSea
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <j...@countervandalism.net>
Gerrit-Reviewer: Jack Phoenix <j...@countervandalism.net>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to