]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/steps/addressbook/undo.inc
Imported Upstream version 0.7.2
[roundcube.git] / program / steps / addressbook / undo.inc
index 712f58dccd5bbb7bbaf8a73cedf819f7b02c31ea..3515c0ada305719ea3989f80671814ca986758ab 100644 (file)
@@ -15,7 +15,7 @@
  | Author: Aleksander Machniak <machniak@kolabsys.com>                   |
  +-----------------------------------------------------------------------+
 
- $Id: undo.inc 4916 2011-07-07 11:44:26Z alec $
+ $Id: undo.inc 5967 2012-03-05 19:59:07Z alec $
 
 */
 
@@ -65,13 +65,6 @@ if ($delcnt && ($search_request = $_REQUEST['_search']) && isset($_SESSION['sear
             continue;
         }
 
-        while ($row = $result->next()) {
-            $row['sourceid'] = $s;
-            $key = $row['name'] . ':' . $row['sourceid'];
-            $records[$key] = $row;
-        }
-        unset($result);
-
         $search[$s] = $source->get_search_set();
     }