phan: Suppress error on Vector master blocking commits
Change-Id: Ib864f4c901db2b589a0f71228154487f9128b0bc
This commit is contained in:
parent
21a63b7c42
commit
508d5fc548
|
@ -167,7 +167,8 @@ class Hooks implements
|
|||
}
|
||||
|
||||
// Promote watch link from actions to views and add an icon
|
||||
if ( $key !== null ) {
|
||||
// The second check to isset is pointless but shuts up phan.
|
||||
if ( $key !== null && isset( $content_navigation['actions'][ $key ] ) ) {
|
||||
$content_navigation['views'][$key] = $content_navigation['actions'][$key];
|
||||
unset( $content_navigation['actions'][$key] );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue