mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
adapt update script
This commit is contained in:
parent
ab281d5190
commit
553c909195
1 changed files with 5 additions and 1 deletions
|
@ -1278,7 +1278,11 @@ function update_1514()
|
||||||
$transactionalConfig->commit();
|
$transactionalConfig->commit();
|
||||||
|
|
||||||
// Rename the node.config.php so it won't get used, but it isn't deleted.
|
// Rename the node.config.php so it won't get used, but it isn't deleted.
|
||||||
rename(dirname(__FILE__) . '/config/node.config.php', dirname(__FILE__) . '/config/node.config.php.bak');
|
if (rename(dirname(__FILE__) . '/config/node.config.php', dirname(__FILE__) . '/config/node.config.php.bak')) {
|
||||||
|
return Update::SUCCESS;
|
||||||
|
} else {
|
||||||
|
return Update::FAILED;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return Update::SUCCESS;
|
return Update::SUCCESS;
|
||||||
|
|
Loading…
Reference in a new issue