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
Merge "ChangeTagsTest: Mark tables as "used" to avoid ID reuse"
[lhc/web/wiklou.git]
/
includes
/
poolcounter
/
PoolCounterWorkViaCallback.php
diff --git
a/includes/poolcounter/PoolCounterWorkViaCallback.php
b/includes/poolcounter/PoolCounterWorkViaCallback.php
index
834b8b1
..
aed52d1
100644
(file)
--- a/
includes/poolcounter/PoolCounterWorkViaCallback.php
+++ b/
includes/poolcounter/PoolCounterWorkViaCallback.php
@@
-66,26
+66,26
@@
class PoolCounterWorkViaCallback extends PoolCounterWork {
}
public function doWork() {
}
public function doWork() {
- return
call_user_func_array( $this->doWork, []
);
+ return
( $this->doWork )(
);
}
public function getCachedWork() {
if ( $this->doCachedWork ) {
}
public function getCachedWork() {
if ( $this->doCachedWork ) {
- return
call_user_func_array( $this->doCachedWork, []
);
+ return
( $this->doCachedWork )(
);
}
return false;
}
public function fallback() {
if ( $this->fallback ) {
}
return false;
}
public function fallback() {
if ( $this->fallback ) {
- return
call_user_func_array( $this->fallback, []
);
+ return
( $this->fallback )(
);
}
return false;
}
public function error( $status ) {
if ( $this->error ) {
}
return false;
}
public function error( $status ) {
if ( $this->error ) {
- return
call_user_func_array( $this->error, [ $status ]
);
+ return
( $this->error )( $status
);
}
return false;
}
}
return false;
}