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
Convert a few call_user_func*() calls to native PHP syntax
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
file
/
File.php
diff --git
a/includes/filerepo/file/File.php
b/includes/filerepo/file/File.php
index
923484a
..
c3b5199
100644
(file)
--- a/
includes/filerepo/file/File.php
+++ b/
includes/filerepo/file/File.php
@@
-207,7
+207,7
@@
abstract class File implements IDBAccessObject {
if ( !is_callable( $function ) ) {
return null;
} else {
- $this->$name =
call_user_func( $function
);
+ $this->$name =
$function(
);
return $this->$name;
}