Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Backout ad82f6e15f40 (Bug 762620) a=akeybl
Browse files Browse the repository at this point in the history
  • Loading branch information
gcp committed Jul 10, 2012
1 parent 908efcf commit 264e06d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions widget/xpwidgets/nsIdleService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,6 @@ nsIdleServiceDaily::Observe(nsISupports *,
PRInt32 nowSec = static_cast<PRInt32>(PR_Now() / PR_USEC_PER_SEC);
Preferences::SetInt(PREF_LAST_DAILY, nowSec);

// Force that to be stored so we don't retrigger twice a day under
// any circumstances.
nsIPrefService* prefs = Preferences::GetService();
if (prefs) {
prefs->SavePrefFile(nsnull);
}

// Start timer for the next check in one day.
(void)mTimer->InitWithFuncCallback(DailyCallback,
this,
Expand Down

0 comments on commit 264e06d

Please sign in to comment.