Ignore:
Timestamp:
2017-09-14T02:25:27+02:00 (7 years ago)
Author:
bastiK
Message:

see #15229 - include support for the long type in IPreferences

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r12846 r12853  
    434434        } else {
    435435            long tim = System.currentTimeMillis();
    436             long last = Main.pref.getLong("pluginmanager.lastupdate", 0);
     436            long last = Config.getPref().getLong("pluginmanager.lastupdate", 0);
    437437            Integer maxTime = Config.getPref().getInt("pluginmanager.time-based-update.interval", DEFAULT_TIME_BASED_UPDATE_INTERVAL);
    438438            long d = TimeUnit.MILLISECONDS.toDays(tim - last);
Note: See TracChangeset for help on using the changeset viewer.