summaryrefslogtreecommitdiff
path: root/includes/updater.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-29 07:01:56 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-29 07:01:56 +0000
commitd163389230febfae9114493f3688cce73087b4af (patch)
tree52d0bff49a9b74a22e257a4532d9f48fdf29eb23 /includes/updater.inc
parentef6e08547b061b597286da52df94e1fe37019219 (diff)
downloadbrdo-d163389230febfae9114493f3688cce73087b4af.tar.gz
brdo-d163389230febfae9114493f3688cce73087b4af.tar.bz2
#669522 by chx: Remove ugly code in getUpdaterFromDirectory.
Diffstat (limited to 'includes/updater.inc')
-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;
}
}