Code Duplication    Length = 13-13 lines in 2 locations

application/third_party/Ion-Auth/models/Ion_auth_model.php 2 locations

@@ 1460-1472 (lines=13) @@
1457
			$this->_ion_like = array();
1458
		}
1459
1460
		if (isset($this->_ion_limit) && isset($this->_ion_offset))
1461
		{
1462
			$this->db->limit($this->_ion_limit, $this->_ion_offset);
1463
1464
			$this->_ion_limit  = NULL;
1465
			$this->_ion_offset = NULL;
1466
		}
1467
		else if (isset($this->_ion_limit))
1468
		{
1469
			$this->db->limit($this->_ion_limit);
1470
1471
			$this->_ion_limit  = NULL;
1472
		}
1473
1474
		// set the order
1475
		if (isset($this->_ion_order_by) && isset($this->_ion_order))
@@ 1637-1649 (lines=13) @@
1634
			$this->_ion_where = array();
1635
		}
1636
1637
		if (isset($this->_ion_limit) && isset($this->_ion_offset))
1638
		{
1639
			$this->db->limit($this->_ion_limit, $this->_ion_offset);
1640
1641
			$this->_ion_limit  = NULL;
1642
			$this->_ion_offset = NULL;
1643
		}
1644
		else if (isset($this->_ion_limit))
1645
		{
1646
			$this->db->limit($this->_ion_limit);
1647
1648
			$this->_ion_limit  = NULL;
1649
		}
1650
1651
		// set the order
1652
		if (isset($this->_ion_order_by) && isset($this->_ion_order))