File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 538
538
}
539
539
540
540
/**The application is expired*/
541
- private function stopThisVersion (theHint :String ,appURL :String ):void
541
+ private function stopThisVersion (theHint :String ,appURL :String , forceToUpdate : Boolean = true ):void
542
542
{
543
- if (isExpired(theHint,appURL) )
543
+ if (isExpired(theHint,appURL,forceToUpdate) && forceToUpdate )
544
544
{
545
545
SaffronLogger. log ("Switch to the download url instantly" );
546
546
resetIntro();
557
557
558
558
559
559
/**Returns true if there is no listener on this function, so the application have to redirect to the server*/
560
- protected function isExpired (hint :String ,link :String ):Boolean
560
+ protected function isExpired (hint :String ,link :String , forceToUpdate : Boolean = true ):Boolean
561
561
{
562
562
Alert . show (hint. replace ("ID" ,"ID (" + DevicePrefrence. appID+ ")" ));
563
563
return true ;
You can’t perform that action at this time.
0 commit comments