summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/updater.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/updater.inc b/includes/updater.inc
index 76a04ccc9..2e2534ec0 100644
--- a/includes/updater.inc
+++ b/includes/updater.inc
@@ -113,7 +113,7 @@ class Updater {
$updaters = drupal_get_updaters();
foreach ($updaters as $updater) {
$class = $updater['class'];
- if (call_user_func("{$class}::canUpdateDirectory", $directory)) {
+ if (call_user_func(array($class, 'canUpdateDirectory'), $directory)) {
return $class;
}
}