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
Really allow Extensions to make a new gallery format
[lhc/web/wiklou.git]
/
includes
/
gallery
/
ImageGalleryBase.php
diff --git
a/includes/gallery/ImageGalleryBase.php
b/includes/gallery/ImageGalleryBase.php
index
b0a593d
..
2a888a5
100644
(file)
--- a/
includes/gallery/ImageGalleryBase.php
+++ b/
includes/gallery/ImageGalleryBase.php
@@
-120,7
+120,7
@@
abstract class ImageGalleryBase extends ContextSource {
'packed-overlay' => 'PackedOverlayImageGallery',
);
// Allow extensions to make a new gallery format.
-
wfRunHooks( 'GalleryGetModes', self::$modeMapping
);
+
Hooks::run( 'GalleryGetModes', array( &self::$modeMapping )
);
}
}