mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed merge request
This commit is contained in:
parent
26b3754ee8
commit
77ee30df20
@ -1720,10 +1720,20 @@ function db_check_minor_relase_available () {
|
||||
*
|
||||
* @return bool Return if minor release is available or not
|
||||
*/
|
||||
function db_check_minor_relase_available_to_um ($package) {
|
||||
function db_check_minor_relase_available_to_um ($package, $ent, $offline) {
|
||||
global $config;
|
||||
|
||||
$dir = sys_get_temp_dir() . "/pandora_oum/" . $package . "/extras/mr";
|
||||
if (!$ent) {
|
||||
$dir = $config['attachment_store'] . "/last_package/downloads/extras/mr";
|
||||
}
|
||||
else {
|
||||
if ($offline) {
|
||||
$dir = $package . "/extras/mr";
|
||||
}
|
||||
else {
|
||||
$dir = sys_get_temp_dir() . "/pandora_oum/" . $package . "/extras/mr";
|
||||
}
|
||||
}
|
||||
|
||||
$have_minor_release = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user