q($st); if ($db->error) $errors[] = $db->error; } if (count($errors) == 0) set_config("dav", "db_version", CALDAV_DB_VERSION); return $errors; }