Commit 753bf232 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Killed annoying maintenance message.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk/src/plugins/gateway@4484 b35dd754-fafc-0310-a699-88a17e54d16e
parent 901f1937
...@@ -652,7 +652,7 @@ public abstract class BaseGateway implements Gateway, Component, Runnable { ...@@ -652,7 +652,7 @@ public abstract class BaseGateway implements Gateway, Component, Runnable {
* subscribed the contact to the JID. * subscribed the contact to the JID.
*/ */
public void run() { public void run() {
Log.debug(LocaleUtils.getLocalizedString("basegateway.maintenancestart", "gateway")); //Log.debug(LocaleUtils.getLocalizedString("basegateway.maintenancestart", "gateway"));
for (SubscriptionInfo si : rosterManager.getRegistrar().getAllGatewaySessions()) { for (SubscriptionInfo si : rosterManager.getRegistrar().getAllGatewaySessions()) {
if (!si.clientRegistered) { if (!si.clientRegistered) {
...@@ -694,7 +694,7 @@ public abstract class BaseGateway implements Gateway, Component, Runnable { ...@@ -694,7 +694,7 @@ public abstract class BaseGateway implements Gateway, Component, Runnable {
// } // }
// } // }
Log.debug(LocaleUtils.getLocalizedString("basegateway.maintenancestop", "gateway")); //Log.debug(LocaleUtils.getLocalizedString("basegateway.maintenancestop", "gateway"));
} }
/** /**
......
...@@ -117,7 +117,6 @@ public class PersistenceManager implements Serializable { ...@@ -117,7 +117,6 @@ public class PersistenceManager implements Serializable {
db = new File("/tmp/." + this.gateway.getName().toLowerCase() + ".dat"); db = new File("/tmp/." + this.gateway.getName().toLowerCase() + ".dat");
load(gateway); load(gateway);
timer.scheduleAtFixedRate(archiver, 5, 5, TimeUnit.SECONDS); timer.scheduleAtFixedRate(archiver, 5, 5, TimeUnit.SECONDS);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment