summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-03 23:34:44 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-03 23:34:44 -0400
commit741eb1a28bbe505364baa440539bbc5ed6fbe5e0 (patch)
tree0ab3ccfd1f1b340056c0548252f57e47cc0ef843 /scripts
parent3e4be98ff6de7a1044f0d7b0deef4f6054e64464 (diff)
parenteedfaa7d1a8e0f97175dfb832091250ca2e1f851 (diff)
Merge branch '0.8.x' into queuemanager
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/xmppdaemon.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php
index ca6218120..bd1918ca9 100755
--- a/scripts/xmppdaemon.php
+++ b/scripts/xmppdaemon.php
@@ -116,6 +116,11 @@ class XMPPDaemon extends Daemon
$this->conn->processUntil('session_start');
$this->log(LOG_DEBUG, "Sending reconnection presence.");
$this->conn->presence('Send me a message to post a notice', 'available', null, 'available', 100);
+ unset($pl['xml']);
+ $pl['xml'] = null;
+
+ $pl = null;
+ unset($pl);
}
function get_user($from)
@@ -189,6 +194,12 @@ class XMPPDaemon extends Daemon
$user->free();
unset($user);
+
+ unset($pl['xml']);
+ $pl['xml'] = null;
+
+ $pl = null;
+ unset($pl);
}
function is_self($from)
@@ -334,6 +345,11 @@ class XMPPDaemon extends Daemon
}
break;
}
+ unset($pl['xml']);
+ $pl['xml'] = null;
+
+ $pl = null;
+ unset($pl);
}
function log($level, $msg)