Kimai_Database_Mysql::customer_delete PHP Method

customer_delete() public method

deletes a customer
Author: th
public customer_delete ( integer $customerID ) : boolean
$customerID integer id of the customer
return boolean true on success, false on failure
    public function customer_delete($customerID)
    {
        $values['trash'] = 1;
        $filter['customerID'] = MySQL::SQLValue($customerID, MySQL::SQLVALUE_NUMBER);
        $table = $this->getCustomerTable();
        $query = MySQL::BuildSQLUpdate($table, $values, $filter);
        return $this->conn->Query($query);
    }
Kimai_Database_Mysql