aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php
index 7f5f3193f..881adb818 100644
--- a/include/security.php
+++ b/include/security.php
@@ -170,6 +170,10 @@ function atoken_delete($atoken_id) {
intval($c[0]['channel_id']),
dbesc($atoken_xchan)
);
+
+ q("update xchan set xchan_deleted = 1 where xchan_hash = '%s'",
+ dbesc($atoken_xchan)
+ );
}
/**