Convert a few call_user_func*() calls to native PHP syntax
[lhc/web/wiklou.git] / includes / filerepo / file / File.php
index 923484a..c3b5199 100644 (file)
@@ -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;
                }