CC-2651: Prevent chaning the storage dir while import is happening
- done
This commit is contained in:
parent
bfa2fa6535
commit
05b2a9679b
3 changed files with 5 additions and 3 deletions
|
@ -162,7 +162,7 @@ class PreferenceController extends Zend_Controller_Action
|
|||
public function isImportInProgressAction(){
|
||||
$now = time();
|
||||
$res = false;
|
||||
if(Application_Model_Preference::GetImportTimestamp()+5 > $now){
|
||||
if(Application_Model_Preference::GetImportTimestamp()+10 > $now){
|
||||
$res = true;
|
||||
}
|
||||
die(json_encode($res));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue