Kimai_Database_Mysql::status_delete PHP Method

status_delete() public method

deletes a status
Author: mo
public status_delete ( array $statusID ) : boolean
$statusID array statusID of the status
return boolean true on success, false on failure
    public function status_delete($statusID)
    {
        $filter['statusID'] = MySQL::SQLValue($statusID, MySQL::SQLVALUE_NUMBER);
        $table = $this->kga['server_prefix'] . "statuses";
        $query = MySQL::BuildSQLDelete($table, $filter);
        return $this->conn->Query($query);
    }
Kimai_Database_Mysql