CC-3547 : Refactoring Views, removing action stack to better work with permissions. Reorganizing Statistics Dialog.

This commit is contained in:
Naomi Aro 2012-03-29 16:27:08 +02:00
parent f48c5ff575
commit 12b23443db
8 changed files with 12 additions and 1311 deletions

View file

@ -773,5 +773,13 @@ class Application_Model_Preference
return self::GetValue("live_dj_source_connection_url");
}
/* User specific preferences end */
public static function ShouldShowPopUp(){
$today = mktime(0, 0, 0, gmdate("m"), gmdate("d"), gmdate("Y"));
$remindDate = Application_Model_Preference::GetRemindMeDate();
if($remindDate == NULL || $today >= $remindDate){
return true;
}
}
}