Changeset 103d6b69 in github


Ignore:
Timestamp:
Feb 20, 2008 5:57:32 PM (5 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
6557d30
Parents:
ae8f192
Message:

Add (currently unused) function to delete all contacts + update changelog

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    re8f8fe9 r103d6b69  
    55---------- 
    66- Localize folder name in page title (#1484785) 
     7- Fix code using wrong variable name (#1484018) 
    78- Allow to send mail with BCC recipients only 
     9- Remove MDN headers before saving in sent folder 
    810 
    9112008/02/12 (estadtherr) 
  • program/include/rcube_contacts.inc

    r6b603da r103d6b69  
    387387    return $this->db->affected_rows(); 
    388388  } 
     389   
     390   
     391  /** 
     392   * Remove all records from the database 
     393   */ 
     394  function delete_all() 
     395  { 
     396    if (is_array($ids)) 
     397      $ids = join(',', $ids); 
     398 
     399    $this->db->query("DELETE FROM {$this->db_name} WHERE  user_id=?", $this->user_id); 
     400    return $this->db->affected_rows(); 
     401  } 
    389402 
    390403} 
Note: See TracChangeset for help on using the changeset viewer.