Commit 79c63cfe authored by skummer's avatar skummer

ZP-385 #comment deduplicate entries in the user agent history when converting device data #time 20m

git-svn-id: https://z-push.org/svn/z-push/trunk@1663 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 03b2995c
......@@ -190,7 +190,7 @@ class StateMigrator20xto210 {
$dev->deviceidOrg = $dev->deviceid;
$dev->deviceid = strtolower($dev->deviceid);
$dev->useragenthistory = array();
$dev->useragenthistory = array_unique($dev->useragenthistory);
$newdata[$user] = $dev;
}
$devState->devices = $newdata;
......
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