mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
Fix coding style
This commit is contained in:
parent
2b6779af8f
commit
8a2fbc6f38
@ -255,8 +255,7 @@ class UpdateChecker
|
||||
$update['download'],
|
||||
empty($update['description']) ? '' : $update['description']
|
||||
);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
// Remove obsolete info if core already was updated.
|
||||
$success = $this->deleteUpdate('core');
|
||||
}
|
||||
@ -285,8 +284,7 @@ class UpdateChecker
|
||||
$update['download'],
|
||||
empty($update['description']) ? '' : $update['description']
|
||||
);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
// Version of the plugin is not updated. Remove obsolete info if need to.
|
||||
$success = $this->deleteUpdate($plugin_name);
|
||||
}
|
||||
@ -306,8 +304,7 @@ class UpdateChecker
|
||||
// Skip information about the core.
|
||||
if (!strcmp($name, 'core')) {
|
||||
continue;
|
||||
}
|
||||
elseif (!in_array($name, $plugins)) {
|
||||
} elseif (!in_array($name, $plugins)) {
|
||||
$this->deleteUpdate($name);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user