dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56072f6
)
Fix the UploadComplete hook. Threw lovely errors and probably didn't work right. :)
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 16 Apr 2006 08:37:30 +0000
(08:37 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 16 Apr 2006 08:37:30 +0000
(08:37 +0000)
includes/SpecialUpload.php
patch
|
blob
|
history
diff --git
a/includes/SpecialUpload.php
b/includes/SpecialUpload.php
index
367b937
..
1c486e6
100644
(file)
--- a/
includes/SpecialUpload.php
+++ b/
includes/SpecialUpload.php
@@
-331,7
+331,7
@@
class UploadForm {
if ( $success ) {
$this->showSuccess();
- wfRunHooks( 'UploadComplete',
&$img
);
+ wfRunHooks( 'UploadComplete',
array( &$img )
);
} else {
// Image::recordUpload() fails if the image went missing, which is
// unlikely, hence the lack of a specialised message