CRM/Contact/Page/AJAX - Remove unused variables
authorColeman Watts <coleman@civicrm.org>
Tue, 28 Jan 2014 23:03:10 +0000 (15:03 -0800)
committerColeman Watts <coleman@civicrm.org>
Tue, 28 Jan 2014 23:03:10 +0000 (15:03 -0800)
CRM/Contact/Page/AJAX.php

index c3d81ee0d91700f64e0807506c39e70f8d40d853..aa0f0c492fff6ff0197029c8704d534ef510a52d 100644 (file)
@@ -1084,8 +1084,6 @@ LIMIT {$offset}, {$rowCount}
     $sEcho     = CRM_Utils_Type::escape($_REQUEST['sEcho'], 'Integer');
     $offset    = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0;
     $rowCount  = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25;
-    $sort      = isset($_REQUEST['iSortCol_0']) ? $sortMapper[CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer')] : 'sort_name';
-    $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc';
 
     $gid         = isset($_REQUEST['gid']) ? CRM_Utils_Type::escape($_REQUEST['gid'], 'Integer') : 0;
     $rgid        = isset($_REQUEST['rgid']) ? CRM_Utils_Type::escape($_REQUEST['rgid'], 'Integer') : 0;