Yurik has uploaded a new change for review.
https://gerrit.wikimedia.org/r/53131
Change subject: cleanup: variable referenced without initialization
......................................................................
cleanup: variable referenced without initialization
declared so that IDE knows how to use it and initialized
Change-Id: I4841fd3f03220f837c981951f07c1c21ddbd76af
---
M img_auth.php
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/31/53131/1
diff --git a/img_auth.php b/img_auth.php
index ccaa8af..4eed4d1 100644
--- a/img_auth.php
+++ b/img_auth.php
@@ -117,6 +117,8 @@
}
// Run hook for extension authorization plugins
+ /** @var $result array */
+ $result = null;
if ( !wfRunHooks( 'ImgAuthBeforeStream', array( &$title, &$path,
&$name, &$result ) ) ) {
wfForbidden( $result[0], $result[1], array_slice( $result, 2 )
);
return;
--
To view, visit https://gerrit.wikimedia.org/r/53131
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4841fd3f03220f837c981951f07c1c21ddbd76af
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits