Update false evaluations
=== false and !== false to is_null where appropriate.
This commit is contained in:
parent
09d798ba77
commit
cadfef63c4
7 changed files with 13 additions and 9 deletions
2
boot.php
2
boot.php
|
|
@ -742,7 +742,7 @@ function run_update_function($x)
|
|||
// delete the config entry to try again.
|
||||
|
||||
$t = Config::get('database', 'update_' . $x);
|
||||
if ($t !== false) {
|
||||
if (!is_null($t)) {
|
||||
return false;
|
||||
}
|
||||
Config::set('database', 'update_' . $x, time());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue