Skip to content

Commit 9eb5dba

Browse files
committed
Update AppWithContent.as
1 parent 9e23080 commit 9eb5dba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

appManager/mains/AppWithContent.as

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,9 +538,9 @@
538538
}
539539

540540
/**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
542542
{
543-
if(isExpired(theHint,appURL))
543+
if(isExpired(theHint,appURL,forceToUpdate) && forceToUpdate)
544544
{
545545
SaffronLogger.log("Switch to the download url instantly");
546546
resetIntro();
@@ -557,7 +557,7 @@
557557

558558

559559
/**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
561561
{
562562
Alert.show(hint.replace("ID","ID ("+DevicePrefrence.appID+")"));
563563
return true ;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy