dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better information about downloading skins via Git
[lhc/web/wiklou.git]
/
img_auth.php
diff --git
a/img_auth.php
b/img_auth.php
index
f44cac0
..
22fd401
100644
(file)
--- a/
img_auth.php
+++ b/
img_auth.php
@@
-151,7
+151,7
@@
function wfImageAuthMain() {
// Run hook for extension authorization plugins
/** @var $result array */
$result = null;
// Run hook for extension authorization plugins
/** @var $result array */
$result = null;
- if ( !
wfRunHooks
( 'ImgAuthBeforeStream', array( &$title, &$path, &$name, &$result ) ) ) {
+ if ( !
Hooks::run
( 'ImgAuthBeforeStream', array( &$title, &$path, &$name, &$result ) ) ) {
wfForbidden( $result[0], $result[1], array_slice( $result, 2 ) );
return;
}
wfForbidden( $result[0], $result[1], array_slice( $result, 2 ) );
return;
}