diff --git a/install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php b/install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php index 8574d4bee..b734cc8c4 100644 --- a/install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php +++ b/install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php @@ -1,29 +1,5 @@ filterByDbType('stor') - ->filterByDbExists(true) + ->filterByType('stor') + ->filterByExists(true) ->findOne(); - $storPath = $musicDir->getDbDirectory(); + $storPath = $musicDir->getDirectory(); $freeSpace = disk_free_space($storPath); $totalSpace = disk_total_space($storPath); diff --git a/install_minimal/upgrades/airtime-2.5.3/airtime-upgrade.php b/install_minimal/upgrades/airtime-2.5.3/airtime-upgrade.php index 31792eb7a..09ecd7ed2 100644 --- a/install_minimal/upgrades/airtime-2.5.3/airtime-upgrade.php +++ b/install_minimal/upgrades/airtime-2.5.3/airtime-upgrade.php @@ -1,5 +1,11 @@