diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-29 07:01:56 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-29 07:01:56 +0000 |
commit | d163389230febfae9114493f3688cce73087b4af (patch) | |
tree | 52d0bff49a9b74a22e257a4532d9f48fdf29eb23 /includes/updater.inc | |
parent | ef6e08547b061b597286da52df94e1fe37019219 (diff) | |
download | brdo-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.inc | 2 |
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; } } |