mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Minor fixes for self update
This commit is contained in:
parent
d2bb8d6d81
commit
ac3c1f349e
@ -66,7 +66,7 @@ class SelfUpdateController extends BaseController
|
||||
throw new FilePermissionsFailure('Cannot update system because files are not writable!');
|
||||
|
||||
// Check if new version is available
|
||||
if($updater->source()->isNewVersionAvailable()) {
|
||||
//if($updater->source()->isNewVersionAvailable()) {
|
||||
|
||||
// Get the new version available
|
||||
$versionAvailable = $updater->source()->getVersionAvailable();
|
||||
@ -76,7 +76,7 @@ class SelfUpdateController extends BaseController
|
||||
|
||||
$updater->source()->update($release);
|
||||
|
||||
}
|
||||
//}
|
||||
|
||||
$cacheCompiled = base_path('bootstrap/cache/compiled.php');
|
||||
if (file_exists($cacheCompiled)) { unlink ($cacheCompiled); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user