Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
d1633892
Commit
d1633892
authored
Dec 29, 2009
by
webchick
Browse files
#669522
by chx: Remove ugly code in getUpdaterFromDirectory.
parent
ef6e0854
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/updater.inc
View file @
d1633892
...
...
@@ -113,7 +113,7 @@ public static function getUpdaterFromDirectory($directory) {
$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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment