src/CI_Base_Model.php
public function delete($id, $time = 'NOW()')
    {
        $this->_database->where($this->primary_key, $id);

        return $this->_delete($id, $time);
    }
public function delete($id, $time = 'NOW()')
    {
        $this->_database->where($this->primary_key, $id);

        return $this->_delete($id, $time);
    }
Delete a row from the table by the primary value